diff options
author | jan <jan@ruken.pw> | 2016-11-14 17:46:52 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-11-15 17:52:28 (UTC) |
commit | 0f62ade5a05c755f18fd4d16a2a280b7870b08b7 (patch) | |
tree | 960bead4a69abaae2474d4af6a9b1cc36f7aa474 /views/pages/list.html | |
parent | dae4433aae4804901e3d2a36342fe1522224ce64 (diff) |
likes funktionieren
Diffstat (limited to 'views/pages/list.html')
-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 3c95548..3676241 100644 --- a/views/pages/list.html +++ b/views/pages/list.html | |||
@@ -35,7 +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 | {{ template "like" (map "ContentType" 0 "ContentID" $list.ID) }} | 38 | {{ template "like" (map "ContentType" 0 "ContentID" $list.ID "User" $user) }} |
39 | <div class="row"> | 39 | <div class="row"> |
40 | <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 }}"> |
41 | <ul id="gril-list" class="gril-list"> | 41 | <ul id="gril-list" class="gril-list"> |