- Timestamp:
- Oct 11, 2011, 1:24:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/index.jsp
r1378 r1403 34 34 boolean isPatientCurator = false; 35 35 boolean hasCreateSamplePermission = false; 36 boolean hasCreateExtractPermission = false; 36 37 try 37 38 { … … 58 59 { 59 60 hasCreateSamplePermission = true; 61 } 62 } 63 catch(RuntimeException ex) 64 {} 65 try 66 { 67 if (sc.hasPermission(Permission.CREATE, Item.EXTRACT)) 68 { 69 hasCreateExtractPermission = true; 60 70 } 61 71 } … … 181 191 <% 182 192 } 193 if (hasCreateSamplePermission && hasCreateExtractPermission) 194 { 195 %> 196 <dt> 197 <table border="0" cellspacing="0" cellpadding="0"> 198 <tr> 199 <td><base:icon image="file.gif" style="padding-right: 4px;"/></td> 200 <td><a href="partitionform.jsp?ID=<%=ID%>">Partition registration wizard</a></td> 201 </tr> 202 </table> 203 </dt> 204 <dd> 205 <ul> 206 <li>Register new partitions of existing specimens. 207 </ul> 208 </dd> 209 <% 210 } 183 211 %> 184 212 </dl>
Note: See TracChangeset
for help on using the changeset viewer.