diff --git a/app/templates/admin/_tabbed_nav.html b/app/templates/admin/_tabbed_nav.html new file mode 100644 index 00000000..93693ce9 --- /dev/null +++ b/app/templates/admin/_tabbed_nav.html @@ -0,0 +1,21 @@ +
+ +
\ No newline at end of file diff --git a/app/templates/admin/activities.html b/app/templates/admin/activities.html index b9edebd3..2eadb13b 100644 --- a/app/templates/admin/activities.html +++ b/app/templates/admin/activities.html @@ -7,6 +7,8 @@ {% set active_child = 'admin_activities' %} {% block app_content %} +{% include 'admin/_tabbed_nav.html' %} +

{{ _('Activities') }}

@@ -20,40 +22,42 @@ Both | In | Out - - - - - - - - - - - {% for activity in activities.items %} +
+
WhenDirectionIDTypeResultMessageJSON
- - - - - {% if activity.result == 'success' %} - - {% elif activity.result == 'ignored' %} - - {% else %} - - {% endif %} - - + + + + + + + - {% endfor %} -
{{ arrow.get(activity.created_at).humanize(locale=locale) }}{{ activity.direction }}{{ activity.activity_id }}{{ activity.activity_type if activity.activity_type else '' }}{{ activity.result }}{{ activity.result }}{{ activity.result }}{{ activity.exception_message if activity.exception_message else '' }} - {% if activity.activity_json is none %} - None - {% else %} - View - {% endif %} - WhenDirectionIDTypeResultMessageJSON
+ {% for activity in activities.items %} + + {{ arrow.get(activity.created_at).humanize(locale=locale) }} + {{ activity.direction }} + {{ activity.activity_id }} + {{ activity.activity_type if activity.activity_type else '' }} + {% if activity.result == 'success' %} + {{ activity.result }} + {% elif activity.result == 'ignored' %} + {{ activity.result }} + {% else %} + {{ activity.result }} + {% endif %} + {{ activity.exception_message if activity.exception_message else '' }} + + {% if activity.activity_json is none %} + None + {% else %} + View + {% endif %} + + + {% endfor %} + +