Changeset 7315
- Timestamp:
- Mar 30, 2017, 9:03:19 AM (6 years ago)
- Location:
- trunk/www/common/overview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/common/overview/ajax.jsp
r6382 r7315 30 30 import="net.sf.basedb.core.BioPlate" 31 31 import="net.sf.basedb.core.BioPlateType" 32 import="net.sf.basedb.core.RawDataType" 33 import="net.sf.basedb.core.RawBioAssay" 32 34 import="net.sf.basedb.core.Item" 33 35 import="net.sf.basedb.util.overview.GenericOverview" … … 119 121 {} 120 122 } 123 else if (n.getItem() instanceof RawBioAssay) 124 { 125 RawDataType rawDataType = ((RawBioAssay)n.getItem(dc)).getRawDataType(); 126 subtitle = rawDataType.getName(); 127 } 121 128 122 129 int numChildren = n.numChildren(); -
trunk/www/common/overview/tree.jsp
r6388 r7315 33 33 import="net.sf.basedb.core.BioPlateType" 34 34 import="net.sf.basedb.core.BioPlate" 35 import="net.sf.basedb.core.RawDataType" 36 import="net.sf.basedb.core.RawBioAssay" 35 37 import="net.sf.basedb.core.ItemContext" 36 38 import="net.sf.basedb.core.Permission" … … 164 166 {} 165 167 } 168 else if (child.getItem() instanceof RawBioAssay) 169 { 170 RawDataType rawDataType = ((RawBioAssay)child.getItem(dc)).getRawDataType(); 171 subtitle = rawDataType.getName(); 172 } 166 173 167 174 String text = HTML.encodeTags(child.getTitle()) + (subtitle != null ? " <span class=\"subtitle\">(" + subtitle + ")</span>" : "");
Note: See TracChangeset
for help on using the changeset viewer.