From 70d5f459347ce273eb0adfb5c8cc27b393ee98df Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 18 Oct 2010 22:24:26 +0200 Subject: [PATCH] Only show follow/block links when the shown Sone is not the current one. --- src/main/resources/templates/knownSones.html | 52 +++++++++++++++------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index 096bc19..3f22405 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -8,31 +8,33 @@
(<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">)
<%ifnull ! currentSone> - <%if sone.isFriend> -
- - - -
- <%else> -
- - - -
- <%/if> - <%if sone.isBlocked> -
- - - -
- <%else> -
- - - -
+ <%if ! sone.isCurrent> + <%if sone.isFriend> +
+ + + +
+ <%else> +
+ + + +
+ <%/if> + <%if sone.isBlocked> +
+ + + +
+ <%else> +
+ + + +
+ <%/if> <%/if> <%/if> -- 2.7.4