As per the discussion on the ticket, we’ll revisit this after 5.1.14
This commit is contained in:
Jermolene
2017-04-18 08:15:25 +01:00
parent 379e780e80
commit 0aaebe9757
2 changed files with 6 additions and 15 deletions
+6 -14
View File
@@ -1,24 +1,16 @@
title: $:/core/ui/ViewTemplate/body
tags: $:/tags/ViewTemplate
\define re() ^\$\:\/([^/])*$
<$reveal tag="div" class="tc-tiddler-body" type="nomatch" state=<<folded-state>> text="hide" retain="yes" animate="yes">
<$list filter="[all[current]is[missing]!is[shadow]]" template="$:/language/MissingTiddler/Hint" emptyMessage="""
<$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]">
<$list filter="[all[current]!is[system]] [all[current]tag[$:/tags/Image]] [all[current]regexp<re>] +[!has[plugin-type]!field:hide-body[yes]]">
<$transclude>
<$transclude/>
<$transclude tiddler="$:/language/MissingTiddler/Hint"/>
</$transclude>
</$list>
<$list filter="[all[current]is[system]] -[all[current]tag[$:/tags/Image]] -[all[current]regexp<re>] +[!has[plugin-type]!field:hide-body[yes]]">
<$codeblock code={{!!text}} language={{!!type}}/>
</$list>
"""/>
</$reveal>
</$reveal>