<#ftl output_format="HTML"> <@cTpl> <#if chapter??><#assign current_chapter = chapter> <#assign current_page = page>
<#if book??> <#include "commons/sidebar.html"> <#elseif space??> <#include "commons/sidebar_space.html">
<#if !page.published>
#i18n{wiki.label.unpublished}
<#include "commons/messages.html" /> <#assign hasPrevious = false> <#if page.currentRevision?? && page.currentRevision.dateCreation??> #i18n{wiki.page.lastUpdate} : ${page.currentRevision.dateCreation?string("dd/MM/yyyy")} <#assign hasPrevious = true> <#if can_edit && pending_suggestions_count?? && (pending_suggestions_count gt 0)> <#if hasPrevious> | ${pending_suggestions_count} #i18n{wiki.suggestion.pending.label} <#assign hasPrevious = true> <#if user?? && !my_pending_suggestion??> <#if hasPrevious> | #i18n{wiki.suggestion.action.propose} <#if my_pending_suggestion??>
#i18n{wiki.suggestion.myPending.message}
#i18n{wiki.suggestion.myPending.viewLink}
<#if page.currentRevision??> <#if page.currentRevision.content?has_content>
<#else> <#if can_edit>
#i18n{wiki.message.noContentEditor}
<#else>
#i18n{wiki.message.noContent}
<#if user?? && is_module_ai_present?? && is_module_ai_present> <#include "/skin/plugins/wiki/modules/ai/chat.html">