Změny dokumentu BlogPostLayoutIDoc
Naposledy změněno Administrator 03.08.2023 14:17
Od verze 10.11
změnil(a) Administrator
k 18.09.2017 07:49
k 18.09.2017 07:49
Změnit komentář:
Žádné komentáře k této verzi
Na verzi 8.1
změnil(a) Administrator
k 18.09.2017 07:21
k 18.09.2017 07:21
Změnit komentář:
Žádné komentáře k této verzi
Summary
-
Objects (2 modified, 0 added, 1 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -51,45 +51,8 @@ 51 51 #end 52 52 #end 53 53 #if ($displayCalendar)(% class="blogDay" %)(((#end 54 -#if ($displayCalendar && $displayCalendarImage)#displayBlogDate($postDate)#end 55 -## #displayEntry($postDoc $postObj $useSummary $displayTitle $displayActions) 56 -## #macro(displayEntry $entryDoc $entryObj $onlyExtract $shouldDisplayTitle $shouldDisplayActions) 57 - #isPublished($postObj $isPublished) 58 - #isHidden($postObj $isHidden) 59 - #if($doc.fullName == $postDoc.fullName) 60 - (% class="hentry single-article" %)((( 61 - #else 62 - (% class="hentry#if(!$isPublished) unpublished-article#elseif($isHidden) hidden-article#end" %)((( 63 - #end 64 - #if ($displayActions) 65 - #displayEntryTools($postDoc $postObj) 66 - #end 67 - #if($displayTitle) 68 - #displayEntryTitle($postDoc $postObj) 69 - #end 70 - #if($doc.fullName == $postDoc.fullName) 71 - #if(!$isPublished) 72 - {{warning}}{{translation key='blog.code.published'/}}{{/warning}} 73 - #elseif($isHidden) 74 - {{warning}}{{translation key='blog.code.hidden'/}}{{/warning}} 75 - #end 76 - #end 77 - #displayEntryContent($postDoc $postObj $useSummary) 78 -## #displayEntryFooter($postDoc $postObj) 79 - 80 -## #macro(displayEntryFooter $entryDoc $entryObj) 81 - (% class="entry-footer" %)((( 82 - #listCategories($postObj) #* 83 - ## Since the publish date and update date are not set at the exact same time, there could be a small difference that 84 - ## we assume cannot be more than 3 seconds. 85 - *#[[{{translation key='blog.code.permalink'/}}>>$postDoc||rel="bookmark"]] ## 86 - (% class="separator" %)·(%%) [[{{translation key='blog.code.comments'/}}>>$postDoc||anchor="Comments"]] (% class="itemCount" %)($postDoc.comments.size())(%%) ## 87 - )))## entry-footer 88 -## #end 89 - 90 - 91 - )))## hentry 92 -## #end 54 +#if ($displayCalendar && $displayCalendarImage)#displayBlogDate($postDate)#end 55 +#displayEntry($postDoc $postObj $useSummary $displayTitle $displayActions) 93 93 #if ($displayCalendar))))#end 94 94 #else 95 95 {{error}}$services.localization.render('blog.blogpostlayout.notpost', [$xcontext.macro.params.reference]){{/error}} - Macro description
-
... ... @@ -1,1 +1,0 @@ 1 -Makro pro zobrazení příspěvku iDoc - Macro name
-
... ... @@ -1,1 +1,1 @@ 1 -Blog 1 +BlogPostLayoutMyLayout - Supports inline mode
-
... ... @@ -1,0 +1,1 @@ 1 +Ano - Macro visibility
-
... ... @@ -1,1 +1,1 @@ 1 - Global1 +Current Wiki
- XWiki.WikiMacroParameterClass[0]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -The document reference of the blog post - Parameter mandatory
-
... ... @@ -1,1 +1,0 @@ 1 -Ano - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -reference
- XWiki.WikiMacroParameterClass[1]
-
- Parameter description
-
... ... @@ -1,1 +1,0 @@ 1 -Additional parameters of the blog post layout - Parameter name
-
... ... @@ -1,1 +1,0 @@ 1 -params