Simply show the Sone ID instead of extracting parts of the request URI.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 25 Sep 2014 20:35:59 +0000 (22:35 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 25 Sep 2014 20:35:59 +0000 (22:35 +0200)
src/main/resources/templates/include/viewSone.html

index 1ca0023..60b8ff7 100644 (file)
@@ -10,7 +10,7 @@
                <div class="profile-link"><a href="viewSone.html?sone=<% sone.id|html>" title="<% sone.requestUri|html>"><% sone.niceName|html></a></div>
                <div class="sone-stats">(<%= View.Sone.Stats.Posts|l10n 0=sone.posts.size>, <%= View.Sone.Stats.Replies|l10n 0=sone.replies.size><%if ! sone.allImages.size|match value==0>, <%= View.Sone.Stats.Images|l10n 0=sone.allImages.size><%/if>)</div>
        </div>
-       <div class="short-request-uri"><% sone.requestUri|substring start==4 length==43|html></div>
+       <div class="short-request-uri"><% sone.id|html></div>
        <div class="hidden"><% sone.blacklisted></div>
        <%if sone.local>
                <form class="lock<%if sone.locked> hidden<%/if>" action="lockSone.html" method="post">