home » zplus/freepost.git
Author zPlus <zplus@peers.community> 2018-07-28 05:53:34
Committer zPlus <zplus@peers.community> 2018-07-28 05:53:34
Commit e46aad0 (patch)
Tree a9ec65c
Parent(s)

Replace hardcoded URLs with url() function. modified: freepost/templates/user_replies.html


commits diff: f671cdf..e46aad0
1 file changed, 3 insertions, 3 deletionsdownload


Diffstat
-rwxr-xr-x freepost/templates/user_replies.html 6

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+3/-3 M   freepost/templates/user_replies.html
index 494d649..d9718e3
old size: 1002B - new size: 1K
@@ -15,10 +15,10 @@
15 15
16 16 {# Post info #}
17 17 <div class="info">
18 - <a href="../post/{{ comment.postHashId }}#comment-{{ comment.hashId }}">read</a>
19 - <a href="../reply?comment={{ comment.hashId }}">reply</a>
18 + <a href="{{ url ('post', hash_id=comment.postHashId) }}#comment-{{ comment.hashId }}">read</a>
19 + <a href="{{ url ('reply', hash_id=comment.hashId) }}">reply</a>
20 20
21 - by <a href="{{ url ("user_public", username=comment.username) }}">{{ comment.username }}</a> <time title="{{ comment.created|title }}" datetime="{{ comment.created|datetime }}"><em> {{ comment.created|ago }} </em></time> on <a href="../post/{{ comment.postHashId }}">{{ comment.postTitle }}</a>
21 + by <a href="{{ url ("user_public", username=comment.username) }}">{{ comment.username }}</a> <time title="{{ comment.created|title }}" datetime="{{ comment.created|datetime }}"><em> {{ comment.created|ago }} </em></time> on <a href="{{ url ('post', hash_id=comment.postHashId) }}">{{ comment.postTitle }}</a>
22 22 </div>
23 23 </div>
24 24