diff options
author | ubq323 <ubq323> | 2021-06-14 15:06:17 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-06-14 15:06:17 +0000 |
commit | 83e932b42be2bab7390e9669fafcbd2d7e934a1b (patch) | |
tree | 40da7b7f32994b09dfc21277d597f96f8b31111c /apioforum/templates | |
parent | 967da4c39e4768aa3d0c6dca11046f032bcabd9c (diff) |
post ids are clickable and linkable; creating or editing posts scrolls down to affected post
Diffstat (limited to 'apioforum/templates')
-rw-r--r-- | apioforum/templates/common.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apioforum/templates/common.html b/apioforum/templates/common.html index 461299d..2206ac3 100644 --- a/apioforum/templates/common.html +++ b/apioforum/templates/common.html @@ -1,5 +1,5 @@ {% macro disp_post(post, buttons=False) %} -<div class="post"> +<div class="post" id="post_{{post.id}}"> <div class="post-heading"> <span class="post-heading-a"> <span class="post-heading-em">{{post.author}}</span> {{ts(post.created)}} @@ -14,7 +14,7 @@ <a class="actionbutton" href="{{url_for('thread.delete_post',post_id=post.id)}}">delete</a> {% endif %} - #{{post.id}} + <a class="post-anchor-link" href="#post_{{post.id}}">#{{post.id}}</a> </span> </div> <div class="post-content"> |