21,15 → 21,15 |
if(value != null && value.trim().length() > 0) |
{ |
String msg = MessageResources.getMessage(request,key); |
return " <div class=\"row\">\n" + |
" <div class=\"col-md-4\" style=\"text-align:right\">\n" + |
return " <tr style=\"border: 1px dashed lightgray\">\n" + |
" <td style=\"padding:5px;text-align:right; width: 1%; white-space: nowrap;\">\n" + |
" <span class=\"glyphicon glyphicon-tag\"></span>\n" + |
" <span class=\"label label-primary\">" + msg + "</span>\n" + |
" </div>\n" + |
" <div class=\"col-md-8\">\n" + |
" </td>\n" + |
" <td style=\"padding:5px\">\n" + |
" <i>" + value + "</i>\n" + |
" </div>\n" + |
" </div>"; |
" </td>\n" + |
" </tr>"; |
} |
return ""; |
} |
69,11 → 69,12 |
</div> |
<%--<div class="repository-description">${doc.description}</div>--%> |
<nested:equal value="true" name="interfaceBlock" property="showDocumentMetaData"> |
|
<%String subTitle = printMetadata("document.repository.metadata.subTitle",doc.getSubtitle(),request,response.getWriter());%> |
<%String internalIdentifier = printMetadata("document.repository.metadata.internalIdentifier",doc.getInternalIdentifier(),request,response.getWriter());%> |
<%String closeDateStr = printMetadata("document.repository.metadata.closeDateStr",doc.getCloseDateStr(),request,response.getWriter());%> |
<%String author = printMetadataPersons("document.repository.metadata.author", doc.getAuthorsJson(), request, response.getWriter());%> |
<%String contributor = printMetadataPersons("document.repository.metadata.contributor",doc.getAuthorsJson(),request,response.getWriter());%> |
<%String contributor = printMetadataPersons("document.repository.metadata.contributor",doc.getContributorsJson(),request,response.getWriter());%> |
<%String publisher = printMetadata("document.repository.metadata.publisher", doc.getPublisher(), request, response.getWriter());%> |
<%String description = printMetadata("document.repository.metadata.description", doc.getDescription(), request, response.getWriter());%> |
<% |
88,13 → 89,18 |
{ |
%> |
<div class="repository-metadata clearfix"> |
<%=description%> |
<%=subTitle%> |
<%=internalIdentifier%> |
<%=closeDateStr%> |
<%=author%> |
<%=contributor%> |
<%=publisher%> |
<table border="0" style="border: 0;width: 100%"> |
<tbody> |
<%=description%> |
<%=subTitle%> |
<%=internalIdentifier%> |
<%=closeDateStr%> |
<%=author%> |
<%=contributor%> |
<%=publisher%> |
</tbody> |
</table> |
|
</div> |
<% |
} |