From 430d58fa4dcf684c65408666c8c2c2824eb2c7e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 7 Sep 2012 08:58:39 +0200 Subject: [PATCH] Only show trust controls if the trust updater has received trust values. --- src/main/resources/templates/include/viewPost.html | 2 ++ src/main/resources/templates/include/viewReply.html | 2 ++ 2 files changed, 4 insertions(+) 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> -- 2.7.4