Changeset 7616
- Timestamp:
- Mar 4, 2019, 7:44:18 AM (5 years ago)
- Location:
- trunk/www
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/admin/annotationtypes/edit_annotationtype.jsp
r7610 r7616 374 374 </td> 375 375 </tr> 376 <% 377 if (valueType == Type.STRING || valueType == Type.INT || valueType == Type.LONG) 378 { 379 %> 380 <tr> 381 <th><label for="identifier">Is identifier</label></th> 382 <td><input type="checkbox" name="identifier" id="identifier" value="1" 383 <%=(annotationType != null && annotationType.isIdentifier()) || 384 (annotationType == null && Values.getBoolean(cc.getPropertyValue("identifier"))) ? "checked" : ""%> 385 > 386 </td> 387 <td></td> 388 </tr> 389 <% 390 } 391 %> 376 392 <tr> 377 393 <th><label for="required_for_miame">Required for MIAME</label></th> -
trunk/www/admin/annotationtypes/index.jsp
r7605 r7616 210 210 annotationType.setDisableInheritance(Values.getBoolean(request.getParameter("disable_inheritance"))); 211 211 annotationType.setProjectAnnotations(Values.getBoolean(request.getParameter("project_annotations"))); 212 annotationType.setIdentifier(Values.getBoolean(request.getParameter("identifier"))); 212 213 if (annotationType.getValueType().canEnumerate()) 213 214 { -
trunk/www/admin/annotationtypes/list_annotationtypes.jsp
r7605 r7616 265 265 /> 266 266 <tbl:columndef 267 id="isIdentifier" 268 property="identifier" 269 datatype="boolean" 270 title="Is identifier" 271 sortable="true" 272 filterable="true" 273 exportable="true" 274 /> 275 <tbl:columndef 267 276 id="requiredForMiame" 268 277 property="requiredForMiame" … … 636 645 HTML.encodeTags(Values.getString(item.getValues(), ", ", true, FormatterFactory.getTypeFormatter(sc, item.getValueType()) )) : 637 646 "<i>- no -</i>"%></tbl:cell> 647 <tbl:cell column="isIdentifier"><%=item.isIdentifier() ? "yes" : "no"%></tbl:cell> 638 648 <tbl:cell column="requiredForMiame"><%=item.isRequiredForMiame() ? "yes" : "no"%></tbl:cell> 639 649 <tbl:cell column="isProtocolParameter"><%=item.isProtocolParameter() ? "yes" : "no"%></tbl:cell> -
trunk/www/admin/annotationtypes/view_annotationtype.jsp
r7605 r7616 285 285 <th>Multiplicity</th> 286 286 <td><%=annotationType.getMultiplicity() == 0 ? "<i>- unlimited -</i>" : annotationType.getMultiplicity()%></td> 287 </tr> 288 <tr> 289 <th>Is identifier</th> 290 <td><%=annotationType.isIdentifier() ? "yes" : "no"%></td> 287 291 </tr> 288 292 <tr> -
trunk/www/include/scripts/main-2.js
r7540 r7616 2020 2020 controllers = []; 2021 2021 controllers['ANNOTATION'] = { url:'common/annotations/index.jsp', width:750, height:500, edit:true, popup:true, noAnyToAny:true }; 2022 controllers['ANNOTATIONTYPE'] = { url:'admin/annotationtypes/index.jsp', width: 600, height:400 };2022 controllers['ANNOTATIONTYPE'] = { url:'admin/annotationtypes/index.jsp', width:750, height:500 }; 2023 2023 controllers['ANNOTATIONTYPECATEGORY'] = { url:'admin/annotationtypecategories/index.jsp', width:600, height:400 }; 2024 2024 controllers['ANYTOANY'] = { url:'common/anytoany/index.jsp', width:600, height:400, popup:true, noAnyToAny:true };
Note: See TracChangeset
for help on using the changeset viewer.