diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-03 08:49:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 08:49:20 +0200 |
commit | 21163a3329ef19dc6ebadb75d6452ac02fd59ab3 (patch) | |
tree | fd7858f6afaf9894e6331975886d522b79ff003e /tpl | |
parent | 865f0a0e014bb114cc2f528be10a023de4057ff4 (diff) | |
parent | 3eba6bd3184fd1ffc7f43ad54e68659f1416c84b (diff) | |
download | Shaarli-21163a3329ef19dc6ebadb75d6452ac02fd59ab3.tar.gz Shaarli-21163a3329ef19dc6ebadb75d6452ac02fd59ab3.tar.zst Shaarli-21163a3329ef19dc6ebadb75d6452ac02fd59ab3.zip |
Merge pull request #1519 from ArthurHoaro/fix/mobile-pin-link
Default template: display pin button in mobile view
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/default/linklist.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index c7617b22..2475f5fd 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -272,7 +272,17 @@ | |||
272 | <i class="fa fa-trash" aria-hidden="true"></i> | 272 | <i class="fa fa-trash" aria-hidden="true"></i> |
273 | </a> | 273 | </a> |
274 | · | 274 | · |
275 | <a href="{$base_path}/admin/shaare/{$value.id}" aria-label="{$strEdit}" title="{$strEdit}"><i class="fa fa-pencil-square-o edit-link" aria-hidden="true"></i></a> | 275 | <a href="{$base_path}/admin/shaare/{$value.id}" aria-label="{$strEdit}" title="{$strEdit}"> |
276 | <i class="fa fa-pencil-square-o edit-link" aria-hidden="true"></i> | ||
277 | </a> | ||
278 | · | ||
279 | <a href="{$base_path}/admin/shaare/{$value.id}/pin?token={$token}" | ||
280 | aria-label="{$strToggleSticky}" | ||
281 | title="{$strToggleSticky}" | ||
282 | class="pin-link {if="$value.sticky"}pinned-link{/if}" | ||
283 | > | ||
284 | <i class="fa fa-thumb-tack" aria-hidden="true"></i> | ||
285 | </a> | ||
276 | {/if} | 286 | {/if} |
277 | </div> | 287 | </div> |
278 | </div> | 288 | </div> |