From: David ‘Bombe’ Roden Date: Fri, 7 Sep 2012 06:58:39 +0000 (+0200) Subject: Only show trust controls if the trust updater has received trust values. X-Git-Tag: 0.8.3^2~54^2~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=430d58fa4dcf684c65408666c8c2c2824eb2c7e2;p=Sone.git Only show trust controls if the trust updater has received trust values. --- diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index c581798..706ef32 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -81,6 +81,7 @@ <%if !post.sone.current> + <%ifnull !post.sone.trust> ·
@@ -100,6 +101,7 @@
+ <%/if> <%/if> <%/if> <%if post.sone.local> diff --git a/src/main/resources/templates/include/viewReply.html b/src/main/resources/templates/include/viewReply.html index 2962dd9..c3b50a4 100644 --- a/src/main/resources/templates/include/viewReply.html +++ b/src/main/resources/templates/include/viewReply.html @@ -52,6 +52,7 @@ <%if !reply.sone.current> + <%ifnull !reply.sone.trust> ·
@@ -71,6 +72,7 @@
+ <%/if> <%/if> <%/if> <%if reply.sone.local>