aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/pages/list.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/pages/list.html b/views/pages/list.html
index b1ec236..71f25fd 100644
--- a/views/pages/list.html
+++ b/views/pages/list.html
@@ -25,7 +25,11 @@
25 </div> 25 </div>
26 </div>{{ end }} 26 </div>{{ end }}
27 <blockquote>{{ $list.Description }}</blockquote><br /> 27 <blockquote>{{ $list.Description }}</blockquote><br />
28 {{ if isSameUser $user $list.Owner }}
29 {{ template "like" (map "ContentType" 0 "ContentID" $list.ID) }}
30 {{ else }}
28 {{ template "like" (map "ContentType" 0 "ContentID" $list.ID "User" $user) }} 31 {{ template "like" (map "ContentType" 0 "ContentID" $list.ID "User" $user) }}
32 {{ end }}
29 <div class="row"> 33 <div class="row">
30 <div class="col s12 {{ if ($user) and eq $user.ID $list.Owner.ID }}l8{{ end }}"> 34 <div class="col s12 {{ if ($user) and eq $user.ID $list.Owner.ID }}l8{{ end }}">
31 <ul id="gril-list" class="gril-list"> 35 <ul id="gril-list" class="gril-list">