aboutsummaryrefslogtreecommitdiff
path: root/views/pages/list.html
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-11-14 15:55:50 (UTC)
committerrtz12 <koenig@fagott.pw>2016-11-15 17:52:22 (UTC)
commitdae4433aae4804901e3d2a36342fe1522224ce64 (patch)
treed4162ac39125b7858f4fe4853e90a5a628c12060 /views/pages/list.html
parentadec4bc8d8aead5c2c75a5e827df341cef498c87 (diff)
FIX: likes und so.
Diffstat (limited to 'views/pages/list.html')
-rw-r--r--views/pages/list.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/views/pages/list.html b/views/pages/list.html
index 6d4d112..3c95548 100644
--- a/views/pages/list.html
+++ b/views/pages/list.html
@@ -35,11 +35,7 @@
35 </div> 35 </div>
36 </div>{{ end }} 36 </div>{{ end }}
37 <blockquote>{{ $list.Description }}</blockquote><br /> 37 <blockquote>{{ $list.Description }}</blockquote><br />
38 {{ if isSameUser $user $list.Owner }}
39 {{ template "like" (map "ContentType" 0 "ContentID" $list.ID) }} 38 {{ template "like" (map "ContentType" 0 "ContentID" $list.ID) }}
40 {{ else }}
41 {{ template "like" (map "ContentType" 0 "ContentID" $list.ID "User" $user) }}
42 {{ end }}
43 <div class="row"> 39 <div class="row">
44 <div class="col s12 {{ if ($user) and eq $user.ID $list.Owner.ID }}l8{{ end }}"> 40 <div class="col s12 {{ if ($user) and eq $user.ID $list.Owner.ID }}l8{{ end }}">
45 <ul id="gril-list" class="gril-list"> 41 <ul id="gril-list" class="gril-list">