From 33c203600d85526c2a31e93fa18013f1f0106e82 Mon Sep 17 00:00:00 2001 From: Azareal Date: Fri, 1 May 2020 11:08:23 +1000 Subject: [PATCH] save bytes --- templates/forum.html | 8 ++++---- templates/topic_c_edit_post.html | 6 +++--- templates/topic_inner.html | 8 ++++---- templates/topics_inner.html | 10 +++++----- templates/topics_topic.html | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/templates/forum.html b/templates/forum.html index d61ad2f7..569fb09d 100644 --- a/templates/forum.html +++ b/templates/forum.html @@ -1,6 +1,6 @@ {{template "header.html" . }} -
+
{{if gt .Page 1}}{{end}} {{if ne .LastPage .Page}}{{end}} @@ -30,8 +30,8 @@ {{if .CurrentUser.Perms.CreateTopic}}
-
- {{lang +
+ {{lang
@@ -46,7 +46,7 @@
{{end}} {{end}} -
+
{{range .ItemList}}
diff --git a/templates/topic_c_edit_post.html b/templates/topic_c_edit_post.html index 5f47fbfb..fba7b526 100644 --- a/templates/topic_c_edit_post.html +++ b/templates/topic_c_edit_post.html @@ -1,5 +1,5 @@ -
+
- - + +
\ No newline at end of file diff --git a/templates/topic_inner.html b/templates/topic_inner.html index acc357c2..7a4c9739 100644 --- a/templates/topic_inner.html +++ b/templates/topic_inner.html @@ -32,20 +32,20 @@ -    +    {{if .CurrentUser.Loggedin}} {{if .CurrentUser.Perms.LikeItem}}{{if ne .CurrentUser.ID .Topic.CreatedBy}} {{if .Topic.Liked}} - + {{else}} - + {{end}} {{end}}{{end}} - + {{if not .Topic.IsClosed or .CurrentUser.Perms.CloseTopic}} {{if .CurrentUser.Perms.EditTopic}}{{end}} diff --git a/templates/topics_inner.html b/templates/topics_inner.html index f53aa7b6..e17cd463 100644 --- a/templates/topics_inner.html +++ b/templates/topics_inner.html @@ -35,8 +35,8 @@ {{if .ForumList}} {{/** TODO: Have a seperate forum list for moving topics? Maybe an AJAX forum search compatible with plugin_guilds? **/}} {{/** TODO: Add ARIA attributes for this **/}} -