aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-10-12 10:46:54 +0200
committerArthurHoaro <arthur@hoa.ro>2016-10-12 10:46:54 +0200
commitc909310731788c41b9ae3724ba1f93f57abc975f (patch)
tree2102e376d326f714b0cd7e45e152fcdf34ca582c /tpl/default/linklist.html
parentfa078366acff3833ef40530e797b1554ccb6f8d6 (diff)
downloadShaarli-c909310731788c41b9ae3724ba1f93f57abc975f.tar.gz
Shaarli-c909310731788c41b9ae3724ba1f93f57abc975f.tar.zst
Shaarli-c909310731788c41b9ae3724ba1f93f57abc975f.zip
Bugfix: error if no plugin is enabled for linklist
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r--tpl/default/linklist.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index 0a46c876..e6b04188 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -115,14 +115,17 @@
115 {function="strftime('%d %B %Y %H:%M', $value.timestamp)"} &middot; 115 {function="strftime('%d %B %Y %H:%M', $value.timestamp)"} &middot;
116 </span> 116 </span>
117 {/if} 117 {/if}
118 {'permalink'|t} &middot; 118 {'permalink'|t}
119 </a> 119 </a>
120 120
121 {$link_plugin_counter=count($value.link_plugin)} 121 {if="isset($value.link_plugin)"}
122 {loop="$value.link_plugin"} 122 &middot;
123 <span>{$value}</span> 123 {$link_plugin_counter=count($value.link_plugin)}
124 {if="$link_plugin_counter - 1 != $counter"}&middot;{/if} 124 {loop="$value.link_plugin"}
125 {/loop} 125 <span>{$value}</span>
126 {if="$link_plugin_counter - 1 != $counter"}&middot;{/if}
127 {/loop}
128 {/if}
126 </div><div 129 </div><div
127 {ignore}do not add space or line break between these div - Firefox issue{/ignore} 130 {ignore}do not add space or line break between these div - Firefox issue{/ignore}
128 class="linklist-item-infos-url pure-u-lg-5-8 pure-u-1"> 131 class="linklist-item-infos-url pure-u-lg-5-8 pure-u-1">