Browse Source

add

pull/3/head
rekoe 9 years ago
parent
commit
fcde3a5a93
  1. 4
      src/main/webapp/WEB-INF/template/admin/project/pjauth.ftl

4
src/main/webapp/WEB-INF/template/admin/project/pjauth.ftl

@ -86,7 +86,7 @@
</script> </script>
</head> </head>
<body style="margin: 0px;"> <body style="margin: 0px;">
<form name="pjauth" action="pjauth/save" method="post" onsubmit="return checkForm(this);"> <form name="pjauth" action="${base}/admin/project/pjauth/save" method="post" onsubmit="return checkForm(this);">
<input type="hidden" name="pj" value="${pj}"> <input type="hidden" name="pj" value="${pj}">
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
<tr> <tr>
@ -183,7 +183,7 @@
<td>${pjAuth.gr!""}${pjAuth.usr!pjAuth.usrName}:(${pjAuth.usr})</td> <td>${pjAuth.gr!""}${pjAuth.usr!pjAuth.usrName}:(${pjAuth.usr})</td>
<td><#if "r"== pjAuth.rw>可读<#elseif "rw"== pjAuth.rw>可读可写<#else>没有权限</#if></td> <td><#if "r"== pjAuth.rw>可读<#elseif "rw"== pjAuth.rw>可读可写<#else>没有权限</#if></td>
<@shiro.hasPermission name="svn.project:auth.manager"> <@shiro.hasPermission name="svn.project:auth.manager">
<td><a href="javascript:if(confirm('确认删除?')){del('pjauth_delete?pj=${pjAuth.pj}&res=${pjAuth.res}&gr=${pjAuth.gr}&usr=${pjAuth.usr}')}">删除</a></td> <td><a href="javascript:if(confirm('确认删除?')){del('${base}/admin/project/pjauth_delete?pj=${pjAuth.pj}&res=${pjAuth.res}&gr=${pjAuth.gr}&usr=${pjAuth.usr}')}">删除</a></td>
</@shiro.hasPermission> </@shiro.hasPermission>
</tr> </tr>
</#list> </#list>

Loading…
Cancel
Save