diff --git a/templates/topic_alt.html b/templates/topic_alt.html index 556b2d1a..b2f4133a 100644 --- a/templates/topic_alt.html +++ b/templates/topic_alt.html @@ -1,7 +1,7 @@ {{template "header.html" . }} -{{if gt .Page 1}}{{end}} -{{if ne .LastPage .Page}}{{end}} +{{if gt .Page 1}}{{end}} +{{if ne .LastPage .Page}}{{end}}
@@ -17,7 +17,7 @@ {{if not .Topic.IsClosed or .CurrentUser.Perms.CloseTopic}} {{if .CurrentUser.Perms.EditTopic}}
- + {{end}} {{end}} @@ -31,7 +31,7 @@
{{if .Poll.ID}}
- {{template "topic_alt_userinfo.html" .Topic }} + {{/**{{template "topic_alt_userinfo.html" .Topic }}**/}}
{{range .Poll.QuickOptions}} @@ -83,7 +83,7 @@
{{if .CurrentUser.Loggedin}} - {{if .CurrentUser.Perms.LikeItem}}{{end}} + {{if .CurrentUser.Perms.LikeItem}}{{if ne .CurrentUser.ID .Topic.CreatedBy}}{{end}}{{end}} {{if not .Topic.IsClosed or .CurrentUser.Perms.CloseTopic}} {{if .CurrentUser.Perms.EditTopic}}{{end}} diff --git a/templates/topic_alt_posts.html b/templates/topic_alt_posts.html index 46558475..3ce7b011 100644 --- a/templates/topic_alt_posts.html +++ b/templates/topic_alt_posts.html @@ -21,7 +21,7 @@ {{end}}
{{if $.CurrentUser.Perms.UploadFiles}} - + {{end}}
@@ -31,7 +31,7 @@
{{if $.CurrentUser.Loggedin}} - {{if $.CurrentUser.Perms.LikeItem}}{{end}} + {{if $.CurrentUser.Perms.LikeItem}}{{if ne $.CurrentUser.ID .CreatedBy}}{{end}}{{end}} {{if not $.Topic.IsClosed or $.CurrentUser.Perms.CloseTopic}} {{if $.CurrentUser.Perms.EditReply}}{{end}} @@ -49,6 +49,5 @@
{{end}} -
-
+
{{end}}