mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 17:28:24 -04:00
Scanning the page is difficult at the moment because it’s hard to tell how far apart in time events are, and thereby determine which events might be related. Grouping the events by day quickly lets users narrow their focus to a meaningful subset of the events.
38 lines
1.0 KiB
HTML
38 lines
1.0 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
{% from "components/table.html" import list_table, field %}
|
|
|
|
{% block service_page_title %}
|
|
Service and API key history
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
{{ page_header("Service and API key history") }}
|
|
|
|
{% for day, events in days %}
|
|
<h2 class="heading-small top-gutter">
|
|
{{ events[0].time|format_date_human|title }}
|
|
</h2>
|
|
<ul class="bottom-gutter">
|
|
{% for event in events %}
|
|
<li class="history-list-item">
|
|
<div class="grid-row">
|
|
<div class="column-one-third">
|
|
<div class="history-list-user">
|
|
{{ event.user_id }}
|
|
</div>
|
|
<div class="history-list-time">
|
|
{{ event.time|format_time }}
|
|
</div>
|
|
</div>
|
|
<div class="column-two-thirds">
|
|
{{ event }}
|
|
</div>
|
|
</li>
|
|
{% endfor%}
|
|
</ul>
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|