aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-06-17 12:42:49 -0500
committercitrons <citrons@mondecitronne.com>2025-06-17 12:42:49 -0500
commitf895359329536c800bbfe638fcb4c62e08e2aeb7 (patch)
treec2ac78285f0cb6541aabd8bdd8af46197a64d16f /apioforum/templates
parentae69863df90300f7aa85c83eeeffd77d6f8d922c (diff)
make more area of the thread listing clickable
Diffstat (limited to 'apioforum/templates')
-rw-r--r--apioforum/templates/view_forum.html33
1 files changed, 15 insertions, 18 deletions
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index 8b61b3c..ca48f21 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -110,13 +110,12 @@ you do not have permission to create threads in this forum
{% macro subforum_listing(subforum,hidden=False) %}
<div class="listing {%if hidden%}hidden-subforum{%endif%}">
- <div class="listing-main {% if not is_read('forum', subforum.id) %}unread{% endif %}">
+ <a class="listing-main {% if not is_read('forum', subforum.id) %}unread{% endif %}"
+ href="{{url_for('forum.view_forum',forum_id=subforum.id)}}">
<div class="listing-title">
- <a href="{{url_for('forum.view_forum',forum_id=subforum.id)}}">
- {{- subforum.name -}}
- </a>
+ {{- subforum.name -}}
</div>
- </div>
+ </a>
<div class="listing-caption">
{% if subforum.updated %}
last activity {{ts(subforum.updated)}} ago
@@ -147,11 +146,9 @@ you do not have permission to create threads in this forum
{%for thread in threads%}
<div class="listing">
<div class="listing-main {%if not is_read('thread', thread.id)%}unread{% endif %}">
- <div class="listing-title">
- <a href="{{url_for('thread.view_thread',thread_id=thread.id)}}">
- <abbr title="{{ thread.title }}" style="text-decoration:none">{{- thread.title -}}</abbr>
- </a>
- </div>
+ <a class="listing-title" href="{{url_for('thread.view_thread',thread_id=thread.id)}}">
+ <abbr title="{{ thread.title }}" style="text-decoration:none">{{- thread.title -}}</abbr>
+ </a>
<div class="thread-listing-tags">
{% for the_tag in thread_tags[thread.id] %}
{{tag_in_forum(forum.id,the_tag)}}
@@ -161,23 +158,23 @@ you do not have permission to create threads in this forum
<div class="thread-listing-creator">
{{ disp_user(thread.creator) }}
</div>
- {{ ts(thread.created) }}
+ <a class="listing-time" href="{{url_for('thread.view_thread',thread_id=thread.id)}}">
+ {{- ts(thread.created) -}}
+ </a>
</div>
</div>
{% if not thread.mrp_deleted %}
- <div class="listing-caption">
+ <div class="listing-caption preview-caption">
{{ disp_user(thread.mrp_author) }}
<span class="thread-preview-ts">
{{ ts(thread.mrp_created) }}
</span>
- <span class="thread-preview-post">
- <a href="{{post_jump(thread.mrp_id)}}">
- {{ thread.mrp_content[:500]|e }}
- </a>
- </span>
+ <a class="thread-preview-post" href="{{post_jump(thread.mrp_id)}}">
+ {{ thread.mrp_content[:500]|e }}
+ </a>
</div>
{% else %}
- <div class="listing-caption">
+ <div class="listing-caption preview-caption">
<a class="thread-preview-post"
href="{{post_jump(thread.mrp_id)}}">
latest post