diff options
author | jan <jan@ruken.pw> | 2016-11-14 17:46:52 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2016-11-14 17:46:52 (UTC) |
commit | 5d4d9935cffa9a7cb8fe2a294e45959b43390ef2 (patch) | |
tree | 23388718005fb0e84fbdebf20ff5c1d827aef5e9 /views/pages | |
parent | c735553214400f3af69e516ff41a6da9214449a7 (diff) |
likes funktionieren
Diffstat (limited to 'views/pages')
-rw-r--r-- | views/pages/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/pages/list.html b/views/pages/list.html index f884a63..b1ec236 100644 --- a/views/pages/list.html +++ b/views/pages/list.html | |||
@@ -25,7 +25,7 @@ | |||
25 | </div> | 25 | </div> |
26 | </div>{{ end }} | 26 | </div>{{ end }} |
27 | <blockquote>{{ $list.Description }}</blockquote><br /> | 27 | <blockquote>{{ $list.Description }}</blockquote><br /> |
28 | {{ template "like" (map "ContentType" 0 "ContentID" $list.ID) }} | 28 | {{ template "like" (map "ContentType" 0 "ContentID" $list.ID "User" $user) }} |
29 | <div class="row"> | 29 | <div class="row"> |
30 | <div class="col s12 {{ if ($user) and eq $user.ID $list.Owner.ID }}l8{{ end }}"> | 30 | <div class="col s12 {{ if ($user) and eq $user.ID $list.Owner.ID }}l8{{ end }}"> |
31 | <ul id="gril-list" class="gril-list"> | 31 | <ul id="gril-list" class="gril-list"> |