summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-07-29 18:16:24 -0400
committerczaks <marcin@6irc.net>2013-07-29 18:16:24 -0400
commit9a27feca018802bc974dc2542d4afd94e5f9e523 (patch)
tree48a2d5f888b74d447ae4532ae89a58ab054cc5df
parent4257191acd2cb65422b66e7fcf9df79f3790e5fb (diff)
parentd44b4f19a8760699a8895cbf9856a4cc0a0f5a65 (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
-rw-r--r--templates/mod/debug/recent_posts.html4
-rw-r--r--templates/mod/search_results.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/mod/debug/recent_posts.html b/templates/mod/debug/recent_posts.html
index 740ed21e..b84d24ab 100644
--- a/templates/mod/debug/recent_posts.html
+++ b/templates/mod/debug/recent_posts.html
@@ -1,4 +1,4 @@
-<table class="modlog">
+<table class="modlog" style="word-wrap: break-word;">
<tr>
<th>Time</th>
<th>Board</th>
@@ -24,7 +24,7 @@
{% else %}
{% set thread = post.id %}
{% endif %}
- <a href="{{ config.root ~ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
+ <a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
{{ post.id }}
</a>
</td>
diff --git a/templates/mod/search_results.html b/templates/mod/search_results.html
index aeaf57b0..fbad0381 100644
--- a/templates/mod/search_results.html
+++ b/templates/mod/search_results.html
@@ -169,7 +169,7 @@
{% endif %}
{% if search_type == 'posts' %}
- <table class="modlog">
+ <table class="modlog" style="word-wrap: break-word;">
<tr>
<th>Time</th>
<th>Board</th>
@@ -195,7 +195,7 @@
{% else %}
{% set thread = post.id %}
{% endif %}
- <a href="{{ config.root ~ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
+ <a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
{{ post.id }}
</a>
</td>