summaryrefslogtreecommitdiff
path: root/templates/mod
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-03-10 14:22:47 +0100
committerczaks <marcin@6irc.net>2015-03-10 14:22:47 +0100
commitbf1b6103cf6d3cf7f83e85453aad2d03e03e62da (patch)
tree9460a02b2e7629059349fb88cacb1ad54bab1814 /templates/mod
parent6c4d3941fa729558f4a5313081c85b0a06202e54 (diff)
parent4bf525599e7c596e7aec7f483664a091ef0db57b (diff)
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Diffstat (limited to 'templates/mod')
-rw-r--r--templates/mod/debug/recent_posts.html2
-rw-r--r--templates/mod/search_results.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/mod/debug/recent_posts.html b/templates/mod/debug/recent_posts.html
index e4eb4f3a..ce4cffc4 100644
--- a/templates/mod/debug/recent_posts.html
+++ b/templates/mod/debug/recent_posts.html
@@ -63,7 +63,7 @@
{% else %}
{% set thread = post.id %}
{% endif %}
- <a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
+ <a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ link_for(post) }}#{{ post.id }}">
{{ post.id }}
</a>
</td>
diff --git a/templates/mod/search_results.html b/templates/mod/search_results.html
index 0d3c2a10..186ee5db 100644
--- a/templates/mod/search_results.html
+++ b/templates/mod/search_results.html
@@ -195,7 +195,7 @@
{% else %}
{% set thread = post.id %}
{% endif %}
- <a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
+ <a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ link_for(post) }}#{{ post.id }}">
{{ post.id }}
</a>
</td>
@@ -265,4 +265,4 @@
<a href="?/search/{{ search_type }}/{{ search_query_escaped }}/{{ i + 1 }}">[{{ i + 1 }}]</a>
{% endfor %}
</p>
-{% endif %} \ No newline at end of file
+{% endif %}