diff --git a/dist/history.html b/dist/history.html index cd64ce0..53d441d 100644 --- a/dist/history.html +++ b/dist/history.html @@ -25,13 +25,25 @@ - (curcur | prev) - - +
+
+ (curcur | prev)  +
+
+ +
+
+ +
+
- ${ item.id } - ${ item.message } - +${ item.insertions || 0 },-${ item.deletions || 0 } + + Commit: ${ prettifyCommitID(item) } + ${ item.id } +
+ Changes: +${ item.insertions || 0 },-${ item.deletions || 0 } +
+ ${ prettifyDate(item.message) }
@@ -74,6 +86,13 @@ var app = new Vue({ self.last_id = response.data.last_id; }); }, + prettifyCommitID: function(item) { + var cid = item.id || ''; + return cid.substring(0, 7); + }, + prettifyDate: function(date) { + return date.substring(0, date.indexOf('.')); + }, updateFilter: function() { if (this.show_empty) { this.filtered_history = this.history;