diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2015-01-27 18:42:49 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2015-07-23 17:39:26 +0200 |
commit | 4b459822a94d1b73931c4afe997a214c4fcfade1 (patch) | |
tree | 338c5c0b04b20f39b30c7245d6ce8bdaa7c5e4af /src/lib/Bcfg2/Reporting/templates/widgets | |
parent | f733133c835193a884edcf34e5daff6365745d21 (diff) | |
download | bcfg2-4b459822a94d1b73931c4afe997a214c4fcfade1.tar.gz bcfg2-4b459822a94d1b73931c4afe997a214c4fcfade1.tar.bz2 bcfg2-4b459822a94d1b73931c4afe997a214c4fcfade1.zip |
Reporting/templates: Use configurable date formats.
Diffstat (limited to 'src/lib/Bcfg2/Reporting/templates/widgets')
-rw-r--r-- | src/lib/Bcfg2/Reporting/templates/widgets/interaction_list.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Reporting/templates/widgets/interaction_list.inc b/src/lib/Bcfg2/Reporting/templates/widgets/interaction_list.inc index 30ed2fd3e..444d05e1e 100644 --- a/src/lib/Bcfg2/Reporting/templates/widgets/interaction_list.inc +++ b/src/lib/Bcfg2/Reporting/templates/widgets/interaction_list.inc @@ -15,7 +15,9 @@ </tr> {% for entry in entry_list %} <tr class='{% cycle listview,listview_alt %}'> - <td class='left_column'><a href='{% url reports_client_detail_pk hostname=entry.client.name, pk=entry.id %}'>{{ entry.timestamp|date:"Y-m-d\&\n\b\s\p\;H:i"|safe }}</a></td> + <td class='left_column'><a href='{% url reports_client_detail_pk hostname=entry.client.name, pk=entry.id %}' class="white-space: nowrap;"> + {{ entry.timestamp|date:"SHORT_DATETIME_FORMAT"|safe }} + </a></td> {% if not client %} <td class='right_column_wide'><a href='{% add_url_filter hostname=entry.client.name %}'>{{ entry.client.name }}</a></td> {% endif %} |