diff --git a/app/blueprints/todo/__init__.py b/app/blueprints/todo/__init__.py index 78341ee0..df328681 100644 --- a/app/blueprints/todo/__init__.py +++ b/app/blueprints/todo/__init__.py @@ -80,7 +80,7 @@ def view_editor(): audit_log = AuditLogEntry.query \ .filter(AuditLogEntry.package.has()) \ .order_by(db.desc(AuditLogEntry.created_at)) \ - .limit(10).all() + .limit(20).all() return render_template("todo/editor.html", current_tab="editor", packages=packages, wip_packages=wip_packages, releases=releases, screenshots=screenshots, diff --git a/app/templates/todo/editor.html b/app/templates/todo/editor.html index 180fb509..83e40846 100644 --- a/app/templates/todo/editor.html +++ b/app/templates/todo/editor.html @@ -157,18 +157,6 @@ {% endif %} -
- {% if current_user.rank.atLeast(current_user.rank.MODERATOR) %} - - {{ _("View All") }} - - {% endif %} -

{{ _("Recent Actions") }}

- - {% from "macros/audit_log.html" import render_audit_log %} - {{ render_audit_log(audit_log, current_user) }} - -

{{ _("WIP") }}

{% if canApproveNew and (packages or wip_packages) %} @@ -197,4 +185,17 @@ {% endif %} + + +
+ {% if current_user.rank.atLeast(current_user.rank.MODERATOR) %} + + {{ _("View All") }} + + {% endif %} +

{{ _("Recent Actions") }}

+ + {% from "macros/audit_log.html" import render_audit_log %} + {{ render_audit_log(audit_log, current_user) }} + {% endblock %}