aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-01-04 13:18:18 +0100
committerArthurHoaro <arthur@hoa.ro>2017-01-04 13:18:18 +0100
commit2bbf5d03ca47c9ce5bc88aabae6096f90f646cab (patch)
tree5798f75cdd07e2b1d36679f7cc5180fa8e4e5878 /tpl/default/linklist.html
parent60d64256393ec4156ef7873860c14aa1028ffb60 (diff)
downloadShaarli-2bbf5d03ca47c9ce5bc88aabae6096f90f646cab.tar.gz
Shaarli-2bbf5d03ca47c9ce5bc88aabae6096f90f646cab.tar.zst
Shaarli-2bbf5d03ca47c9ce5bc88aabae6096f90f646cab.zip
Takin theme reviews into account
Diffstat (limited to 'tpl/default/linklist.html')
-rw-r--r--tpl/default/linklist.html23
1 files changed, 11 insertions, 12 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index 051575dc..f1f67eea 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -54,36 +54,32 @@
54 {/if} 54 {/if}
55 55
56 <div class="pure-g"> 56 <div class="pure-g">
57 <div class="pure-u-2-24"></div> 57 <div class="pure-u-lg-2-24 pure-u-1-24"></div>
58 <div class="pure-u-20-24"> 58 <div class="pure-u-lg-20-24 pure-u-22-24">
59 {loop="links"} 59 {loop="links"}
60 <div class="linklist-item{if="$value.class"} {$value.class}{/if}"> 60 <div class="linklist-item{if="$value.class"} {$value.class}{/if}">
61 61
62 <div class="linklist-item-title"> 62 <div class="linklist-item-title">
63 {if="isLoggedIn()"} 63 {if="isLoggedIn()"}
64 <div class="linklist-item-editbuttons"> 64 <div class="linklist-item-editbuttons">
65 {if="$value.private"}
66 <span class="label label-private">{'Private'|t}</span>
67 {/if}
65 <!-- FIXME! JS translation --> 68 <!-- FIXME! JS translation -->
69 <a href="?edit_link={$value.id}" title="{'Edit'|t}"><i class="fa fa-pencil-square-o edit-link"></i></a>
66 <a href="#" title="{'Fold'|t}" class="fold-button"><i class="fa fa-chevron-up"></i></a> 70 <a href="#" title="{'Fold'|t}" class="fold-button"><i class="fa fa-chevron-up"></i></a>
67 <a href="?edit_link={$value.id}" title="{'Edit'|t}"><i class="fa fa-pencil-square-o"></i></a>
68 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}" title="{'Delete'|t}" class="delete-link">
69 <i class="fa fa-trash"></i>
70 </a>
71 </div> 71 </div>
72 {/if} 72 {/if}
73 73
74 <h2> 74 <h2>
75 <a href="{$value.real_url}" id="{$value.shorturl}" class="linklist-link"> 75 <a href="{$value.real_url}" id="{$value.shorturl}" class="">
76 {if="strpos($value.url, $value.shorturl) === false"} 76 {if="strpos($value.url, $value.shorturl) === false"}
77 <i class="fa fa-external-link"></i> 77 <i class="fa fa-external-link"></i>
78 {else} 78 {else}
79 <i class="fa fa-sticky-note"></i> 79 <i class="fa fa-sticky-note"></i>
80 {/if} 80 {/if}
81 81
82 {if="$value.private"} 82 <span class="linklist-link">{$value.title}</span>
83 <span class="label label-private">{'Private'|t}</span>
84 {/if}
85
86 {$value.title}
87 </a> 83 </a>
88 </h2> 84 </h2>
89 </div> 85 </div>
@@ -139,6 +135,9 @@
139 <a href="{$value.real_url}" title="{$value.title}"> 135 <a href="{$value.real_url}" title="{$value.title}">
140 <i class="fa fa-link"></i> {$value.url} 136 <i class="fa fa-link"></i> {$value.url}
141 </a> 137 </a>
138 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}" title="{'Delete'|t}" class="delete-link">
139 <i class="fa fa-trash"></i>
140 </a>
142 </div> 141 </div>
143 </div> 142 </div>
144 </div> 143 </div>