X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Feditlink.html;h=83e541fdf6b32aaf45a985a20645ab19c53bbc37;hb=5b74c67461dbfb3fe87486646b64afd14aec4860;hp=d03fd72ff2f0ec74db1c8ff7debfc549796c47f7;hpb=807cade64c571929dc19afe3d44787c5abe84f57;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index d03fd72f..83e541fd 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html @@ -1,18 +1,27 @@ +{if="empty($batch_mode)"} - + {include="includes"} {include="page.header"} -
+{else} + {ignore}Lil hack: when included in a loop in batch mode, `$value` is assigned by RainTPL with template vars.{/ignore} + {function="extract($value) ? '' : ''"} +{/if} +
- +
-
- +
+ +
+ +
-
+
+
+ +
-
+
+
+ +
 
+ {if="$formatter==='markdown'"} +
+ {'Description will be rendered with'|t} + + {'Markdown syntax'|t} + . +
+ {/if} + + +{if="empty($batch_mode)"} {include="page.footer"} + {if="$link_is_new && $async_metadata"}{/if} +{/if}