roundabout,
created on Monday, 29 July 2024, 10:06:07 (1722247567),
received on Wednesday, 31 July 2024, 06:54:52 (1722408892)
Author identity: vlad <vlad.muntoiu@gmail.com>
beef1b5b1f9e63a7950c04c5141bae3d21d3d51d
templates/repository/repo-forum.html
@@ -26,6 +26,17 @@
</details> <form class="hbox" action="./search"> <input type="text" name="q" placeholder="{% trans %}Search...{% endtrans %}" value="{{ query }}" aria-label="{% trans %}Search query{% endtrans %}"> <select name="state" aria-label="{% trans %}State{% endtrans %}"> <option value="">{% trans %}all{% endtrans %}</option> <option value="0" {% if require_state == "0" %}selected{% endif %}>{% trans %}done{% endtrans %}</option> <option value="1" {% if require_state == "1" %}selected{% endif %}>{% trans %}active{% endtrans %}</option> </select> <select name="label" aria-label="{% trans %}Label{% endtrans %}"> <option value="">{% trans %}all{% endtrans %}</option> {% for label in repo_data.labels %} <option value="{{ label.identifier }}" {% if label.identifier == require_label %}selected{% endif %}>{{ label.name }}</option> {% endfor %} </select><button type="submit">{% trans %}Search{% endtrans %}</button> </form> {% for post in Post.query.filter_by(repo=repo_data, parent=none).order_by(Post.last_updated.desc()) %}