aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-07-28 11:19:53 +0200
committerArthurHoaro <arthur@hoa.ro>2018-07-28 11:19:53 +0200
commit7982c3ff183aa985177bdaeacda4feb22a739e00 (patch)
tree728e07251072f3a1df63c017c0dce54fa1acb390 /tpl/default/linklist.html
parent2075321f6569dfa610905991b315aae1956b7f78 (diff)
parented7e1be12d65bdb1b924c7efb6a84fd591192c6c (diff)
downloadShaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.tar.gz
Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.tar.zst
Shaarli-7982c3ff183aa985177bdaeacda4feb22a739e00.zip
Merge tag 'v0.10.0' into latest
Release v0.10.0
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r--tpl/default/linklist.html26
1 files changed, 17 insertions, 9 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index c666e30a..8ea2ce66 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -16,8 +16,7 @@
16</div> 16</div>
17 17
18<input type="hidden" name="token" value="{$token}"> 18<input type="hidden" name="token" value="{$token}">
19 19<div id="search-linklist" class="searchform-block search-linklist">
20<div id="search-linklist">
21 20
22 <form method="GET" class="pure-form searchform" name="searchform"> 21 <form method="GET" class="pure-form searchform" name="searchform">
23 <input type="text" tabindex="1" name="searchterm" class="searchterm" placeholder="{'Search text'|t}" 22 <input type="text" tabindex="1" name="searchterm" class="searchterm" placeholder="{'Search text'|t}"
@@ -132,12 +131,20 @@
132 131
133 <div class="linklist-item linklist-item{if="$value.class"} {$value.class}{/if}" data-id="{$value.id}"> 132 <div class="linklist-item linklist-item{if="$value.class"} {$value.class}{/if}" data-id="{$value.id}">
134 <div class="linklist-item-title"> 133 <div class="linklist-item-title">
135 {$thumb=thumbnail($value.url)} 134 {if="$thumbnails_enabled && !empty($value.thumbnail)"}
136 {if="$thumb!=false"} 135 <div class="linklist-item-thumbnail" style="width:{$thumbnails_width}px;height:{$thumbnails_height}px;">
137 <div class="linklist-item-thumbnail">{$thumb}</div> 136 <div class="thumbnail">
137 <a href="{$value.real_url}">
138 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
139 <img data-src="{$value.thumbnail}#" class="b-lazy"
140 src="#"
141 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" />
142 </a>
143 </div>
144 </div>
138 {/if} 145 {/if}
139 146
140 {if="isLoggedIn()"} 147 {if="$is_logged_in"}
141 <div class="linklist-item-editbuttons"> 148 <div class="linklist-item-editbuttons">
142 {if="$value.private"} 149 {if="$value.private"}
143 <span class="label label-private">{$strPrivate}</span> 150 <span class="label label-private">{$strPrivate}</span>
@@ -180,7 +187,7 @@
180 187
181 <div class="linklist-item-infos-date-url-block pure-g"> 188 <div class="linklist-item-infos-date-url-block pure-g">
182 <div class="linklist-item-infos-dateblock pure-u-lg-7-12 pure-u-1"> 189 <div class="linklist-item-infos-dateblock pure-u-lg-7-12 pure-u-1">
183 {if="isLoggedIn()"} 190 {if="$is_logged_in"}
184 <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible"> 191 <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible">
185 <span class="linklist-item-infos-controls-item ctrl-checkbox"> 192 <span class="linklist-item-infos-controls-item ctrl-checkbox">
186 <input type="checkbox" class="delete-checkbox" value="{$value.id}"> 193 <input type="checkbox" class="delete-checkbox" value="{$value.id}">
@@ -197,7 +204,7 @@
197 </div> 204 </div>
198 {/if} 205 {/if}
199 <a href="?{$value.shorturl}" title="{$strPermalink}"> 206 <a href="?{$value.shorturl}" title="{$strPermalink}">
200 {if="!$hide_timestamps || isLoggedIn()"} 207 {if="!$hide_timestamps || $is_logged_in"}
201 {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink} 208 {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink}
202 <span class="linkdate" title="{$updated}"> 209 <span class="linkdate" title="{$updated}">
203 <i class="fa fa-clock-o"></i> 210 <i class="fa fa-clock-o"></i>
@@ -237,7 +244,7 @@
237 {if="$link_plugin_counter - 1 != $counter"}&middot;{/if} 244 {if="$link_plugin_counter - 1 != $counter"}&middot;{/if}
238 {/loop} 245 {/loop}
239 {/if} 246 {/if}
240 {if="isLoggedIn()"} 247 {if="$is_logged_in"}
241 &middot; 248 &middot;
242 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}" 249 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}"
243 title="{$strDelete}" class="delete-link confirm-delete"> 250 title="{$strDelete}" class="delete-link confirm-delete">
@@ -269,5 +276,6 @@
269</div> 276</div>
270 277
271{include="page.footer"} 278{include="page.footer"}
279<script src="js/thumbnails.min.js?v={$version_hash}"></script>
272</body> 280</body>
273</html> 281</html>