Changeset 4907
- Timestamp:
- 04/07/14 14:25:36 (11 years ago)
- Location:
- vlo/branches/vlo-3.0/vlo-web-app/src/main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-3.0/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/wicket/panels/record/ResourceLinkDetailsPanel.html
r4904 r4907 24 24 <body> 25 25 <wicket:panel> 26 <span class="recordresourcedetailstitle" wicket:id="resourceType">Text file</span> 26 27 <span class="recordresourcedetailsitem">File name: <span wicket:id="fileName">Bachelorscriptie+Rene+Witteveen+3375005.docx</span></span> 27 <span class="recordresourcedetailsitem">File type: <span wicket:id="resourceType">text file</span></span>28 28 <span class="recordresourcedetailsitem">Mime type: <span wicket:id="mimeType">application/msword</span></span> 29 29 <span class="recordresourcedetailsitem">Location: <span wicket:id="href">location</span></span> -
vlo/branches/vlo-3.0/vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/wicket/panels/record/ResourceLinkDetailsPanel.java
r4904 r4907 22 22 import org.apache.wicket.model.CompoundPropertyModel; 23 23 import org.apache.wicket.model.IModel; 24 import org.apache.wicket.model.StringResourceModel; 24 25 25 26 /** … … 34 35 super(id, model); 35 36 setDefaultModel(new CompoundPropertyModel<ResourceInfo>(model)); 36 37 // get the friendly name of the resource type dynamically from the resource bundle 38 add(new Label("resourceType", new StringResourceModel("resourcetype.${resourceType}.singular", model, model.getObject().getResourceType()))); 37 39 add(new Label("fileName")); 38 40 add(new Label("mimeType")); 39 add(new Label("resourceType"));40 41 add(new Label("href")); 41 42 } -
vlo/branches/vlo-3.0/vlo-web-app/src/main/webapp/style/vlo-record.css
r4904 r4907 213 213 padding: 2px; 214 214 background: #fff; 215 opacity: .98; 215 216 text-align: left; 217 } 218 219 span.recordresourcedetailstitle { 220 display: block; 221 font-weight: bold; 222 text-decoration: underline; 223 text-transform: capitalize; 216 224 } 217 225
Note: See TracChangeset
for help on using the changeset viewer.