summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-09-02 09:29:15 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-09-02 09:29:15 -0400
commit1b155fc3f73a7f2e12339d3fa42d1a05c3bcffe9 (patch)
tree0ef33aa15968897248ba1556c75bf422fd4cb20a /www/templates
parentcaa5d91827abc16bc0c2df1124266fe9d77bf316 (diff)
humanize time display to make it easier to read events
Former-commit-id: 872230d9d692a52c5d44ce1b66d673d84f149010
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/templates/events.html b/www/templates/events.html
index 0cece8c5..b5e75c74 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -47,10 +47,16 @@
<ion-item collection-repeat="event in events| filter:search.text" item-height="event.Event.height" id="item-{{$index}}" >
- <span style="float:left;margin-top:-18px;background-color:#96281B;color:#fff;font-size:11px;opacity:0.7;width:90px;border-radius: 0px 0px 5px 5px;">&nbsp;&nbsp;&nbsp;<i class="ion-calendar"></i>&nbsp;&nbsp;{{prettifyTime(event.Event.StartTime)}}</span>
+ <span style="float:left;margin-top:-18px;background-color:#96281B;color:#fff;font-size:11px;opacity:0.7;width:90px;border-radius: 0px 0px 5px 5px;">&nbsp;&nbsp;&nbsp;<i class="ion-calendar"></i>&nbsp;&nbsp;{{prettifyTime(event.Event.StartTime)}}</span>&nbsp;&nbsp;
+
+
+ <span style="float:left;margin-top:-18px;background-color:#fff;color:#888;font-size:11px;opacity:1;">&nbsp;&nbsp;<i class="ion-arrow-right-b"></i>&nbsp;{{relativeTime(event.Event.StartTime)}}</span>
+
+
<span style="float:right;margin-top:-18px;background-color:#444444;color:#fff;font-size:11px;opacity:0.7;width:90px;border-radius: 0px 0px 5px 5px;">&nbsp;&nbsp;&nbsp;<i class="ion-clock"></i>&nbsp;&nbsp;{{prettifyDate(event.Event.StartTime)}}</span>
-
+
+