diff --git a/core/templates/base.html b/core/templates/base.html
index e5b6a83..83e6282 100644
--- a/core/templates/base.html
+++ b/core/templates/base.html
@@ -212,6 +212,12 @@
z-index: 39 !important;
}
+ .small-field {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ overflow-y: hidden;
+ }
+
{# Yes it's in the source, fight me #}
@@ -168,6 +170,13 @@
{{ row.cells.date }}
{{ row.cells.time }}
+ {% elif column.name == 'match_ts' %}
+
+ {% with match_ts=cell|splitstr:'T' %}
+ {{ match_ts.0 }}
+ {{ match_ts.1 }}
+ {% endwith %}
+ |
{% elif column.name == 'type' or column.name == 'mtype' %}
{% elif column.name == "meta" %}
|
- {{ cell|pretty }}
+ {{ cell|pretty }}
+ |
+ {% elif 'id' in column.name %}
+
+
|
{% else %}
diff --git a/core/templatetags/splitstr.py b/core/templatetags/splitstr.py
new file mode 100644
index 0000000..fa0d11c
--- /dev/null
+++ b/core/templatetags/splitstr.py
@@ -0,0 +1,8 @@
+from django import template
+
+register = template.Library()
+
+
+@register.filter
+def splitstr(value, arg):
+ return value.split(arg)
\ No newline at end of file
|