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/includes | |
parent | c735553214400f3af69e516ff41a6da9214449a7 (diff) |
likes funktionieren
Diffstat (limited to 'views/includes')
-rw-r--r-- | views/includes/like.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/includes/like.html b/views/includes/like.html index 226aaff..bfb9576 100644 --- a/views/includes/like.html +++ b/views/includes/like.html | |||
@@ -1,3 +1,5 @@ | |||
1 | {{ define "like" }} | 1 | {{ define "like" }} |
2 | <span class="like-count" content-type={{ .ContentType }} content-id={{ .ContentID }}></span> Likes | 2 | <div class="like-div btn purple lighten-4" {{ if .User }}update-with="{{ .User.ID }}"{{ end }} content-type={{ .ContentType }} content-id={{ .ContentID }}> |
3 | <span class="like-count"></span> <span class="like-caption">Finden das geil</span> | ||
4 | </div> | ||
3 | {{ end }} | 5 | {{ end }} |