Changeset 6307
- Timestamp:
- 06/17/15 15:36:53 (9 years ago)
- Location:
- vlo/trunk/vlo-web-app/src/main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/trunk/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/wicket/panels/record/HierarchyPanel.html
r6303 r6307 25 25 <wicket:panel> 26 26 <h2>Hierarchy (test)</h2> 27 <ul class="recordtree">27 <ul id="recordtree"> 28 28 <li> 29 29 <div wicket:id="parent"> … … 32 32 </div> 33 33 <ul> 34 <li ><span wicket:id="this">this item</span></li>34 <li id="thisrecord"><span wicket:id="this">this item</span></li> 35 35 <ul> 36 36 <li wicket:id="child"><a wicket:id="link"><span wicket:id="name"></span></a></li> -
vlo/trunk/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/wicket/panels/record/HierarchyPanel.java
r6304 r6307 73 73 74 74 }; 75 parentLink.add(new Label("name", new SolrFieldStringModel(parentModel, FacetConstants.FIELD_NAME)));75 parentLink.add(new SolrFieldLabel("name", parentModel, FacetConstants.FIELD_NAME, new StringResourceModel("recordpage.unnamedrecord", this, null))); 76 76 77 77 final WebMarkupContainer noParentLabel = new WebMarkupContainer("noparent") { … … 106 106 } 107 107 }; 108 childLink.add(new Label("name", new SolrFieldStringModel(childModel, FacetConstants.FIELD_NAME))); 108 childLink.add(new SolrFieldLabel("name", childModel, FacetConstants.FIELD_NAME, new StringResourceModel("recordpage.unnamedrecord", this, null))); 109 109 110 item.add(childLink); 110 111 } -
vlo/trunk/vlo-web-app/src/main/less/eu/clarin/cmdi/vlo/wicket/pages/inc/vlo-record.less
r5148 r6307 280 280 padding: 1em; 281 281 } 282 283 #recordtree #thisrecord { 284 list-style-type: circle; 285 font-weight: bold; 286 }
Note: See TracChangeset
for help on using the changeset viewer.