Changes for page BlogPostLayoutIDoc

Last modified by Administrator on 03.08.2023 14:17

From version 10.8
edited by Administrator
on 18.09.2017 07:47
Change comment: There is no comment for this version
To version 10.5
edited by Administrator
on 18.09.2017 07:43
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -79,6 +79,15 @@
79 79  
80 80  ## #macro(displayEntryFooter $entryDoc $entryObj)
81 81   (% class="entry-footer" %)(((
82 + #isPublished($postObj $isPublished)
83 + (% class='entry-author-label' %)
84 + #if($isPublished)
85 + {{translation key='blog.code.postedby'/}} ##
86 + #else
87 + {{translation key='blog.code.createdby'/}} ##
88 + #end
89 + {{html wiki="false" clean="false"}}<span class='author vcard'>#userfn($postDoc.creator)</span>{{/html}} ##
90 + #getEntryDate($postDoc $postObj $entryDate)
82 82   #listCategories($postObj) #*
83 83   ## Since the publish date and update date are not set at the exact same time, there could be a small difference that
84 84   ## we assume cannot be more than 3 seconds.