From: David ‘Bombe’ Roden Date: Mon, 18 Oct 2010 20:24:26 +0000 (+0200) Subject: Only show follow/block links when the shown Sone is not the current one. X-Git-Tag: 0.1-RC1~210 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=70d5f459347ce273eb0adfb5c8cc27b393ee98df Only show follow/block links when the shown Sone is not the current one. --- 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>