创建菜单时,必须添加菜单的国际化代码
This commit is contained in:
@@ -76,6 +76,12 @@
|
||||
<form:input path="name" htmlEscape="false" maxlength="50" class="required form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><font color="red">*</font>国际化代码:</label>
|
||||
<div class="col-md-4">
|
||||
<form:input path="code" htmlEscape="false" maxlength="50" class="required form-control"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label">链接:</label>
|
||||
<div class="col-md-4">
|
||||
|
||||
@@ -61,10 +61,11 @@
|
||||
<sys:message content="${message}"/>
|
||||
<form id="listForm" method="post">
|
||||
<table id="treeTable" class="table table-striped table-bordered table-condensed">
|
||||
<thead><tr><th>名称</th><th>链接</th><th style="text-align:center;">排序</th><th>可见</th><th>权限标识</th><shiro:hasPermission name="sys:menu:edit"><th>操作</th></shiro:hasPermission></tr></thead>
|
||||
<thead><tr><th>名称</th><th>国际化代码</th><th>链接</th><th style="text-align:center;">排序</th><th>可见</th><th>权限标识</th><shiro:hasPermission name="sys:menu:edit"><th>操作</th></shiro:hasPermission></tr></thead>
|
||||
<tbody><c:forEach items="${list}" var="menu">
|
||||
<tr id="${menu.id}" pId="${menu.parent.id ne 1?menu.parent.id:0}">
|
||||
<td nowrap><i class="icon-${not empty menu.icon?menu.icon:' hide'}"></i><a href="${ctx}/sys/menu/form?id=${menu.id}">${menu.name}</a></td>
|
||||
<td>${menu.code}</td>
|
||||
<td title="${menu.href}">${fns:abbr(menu.href,30)}</td>
|
||||
<td style="text-align:center;">
|
||||
<shiro:hasPermission name="sys:menu:edit">
|
||||
|
||||
Reference in New Issue
Block a user