document_content_service.html

 1   <#--
 2   Available objects :
 3   - String 				document 			The HTML code for the document (Xsl transformation result)
 4   - String 				portlet				The HTML code for documents list portlet containing the document
 5   - String 				categories			The HTML code for category list portlet linked with the document
 6   - String 				document_comments	The HTML code for the comments area
 7   - String 				document_id			The document id
 8   - String 				portlet_id			The portlet id
 9   - DocumentPublication 	publication 		The publication object. 
 10   How to display the date publication : ${publication.datePublishing?date} or ${publication.datePublishing?datetime}
 11   -->
 12   <#if isExtendInstalled?? && isExtendInstalled>
 13   	@ExtenderParameter[${document_id},document,opengraph]@
 14   </#if>
 15   <div class="row">
 16       <div id="content" class="col-xs-12 col-sm-9 col-md-9">
 17       	<#if portlet?has_content >
 18          		${portlet}
 19           </#if>
 20           <#if isExtendInstalled?? && isExtendInstalled>
 21   	        <div class="pull-right">
 22   	            <div class="btn-group">
 23   	            	@Extender[${document_id},document,actionbar]@
 24   				</div>
 25   	        </div>
 26           </#if>
 27           ${document}
 28       </div>
 29   </div>
 30   <#if isExtendInstalled?? && isExtendInstalled>
 31   <div class="clearfix">
 32   	<div class="col-xs-12 col-sm-3 col-md-3 pull-right">
 33   		@Extender[${document_id},document,opengraph,{footer:false, header:false}]@
 34           @Extender[${document_id},document,hit,{show:true}]@
 35           @Extender[${document_id},document,rating,{show:"all"}]@
 36       </div>
 37   </div>
 38   @Extender[${document_id},document,comment]@
 39   @Extender[${document_id},document,feedback]@
 40   @Extender[${document_id},document,opengraph,{footer:true}]@
 41   </#if>