sort threads in topic by activity by default (bump) and add setting

This commit is contained in:
2025-06-01 14:04:45 +03:00
parent 24d6d7cebf
commit b56ab2522c
3 changed files with 22 additions and 11 deletions

View File

@ -15,6 +15,11 @@
</div>
</form>
<form method="post" action="">
<label for="topic_sort_by">Sort threads by:</label>
<select id="topic_sort_by" name="topic_sort_by">
<option value="activity" <%= session.sort_by == "activity" and "selected" %>>Latest activity</option>
<option value="thread" <%= session.sort_by == "thread" and "selected" %>>Thread creation date</option>
</select>
<label for="status">Status</label>
<input type="text" id="status" name="status" value="<%= me.status %>" maxlength="70" placeholder="Will be shown under your username. Max 70 characters">
<label for="babycode-content">Signature</label><br>