git ssb

30+

cel / git-ssb-web



Commit 5264137ee26b34066cad458926a86775eb73dddd

Hide vote messages from issue thread rendering

Charles Lehner committed on 4/26/2016, 4:17:34 AM
Parent: d225840e830b5abae91c5c850227a40775f1ea00

Files changed

lib/repos/issues.jschanged
lib/repos/issues.jsView
@@ -154,8 +154,10 @@
154154 ' name="' + u.escape(msg.key) + '">' +
155155 new Date(msg.value.timestamp).toLocaleString(req._locale) + '</a>'
156156 var c = msg.value.content
157157 switch (c.type) {
158+ case 'vote':
159+ return ''
158160 case 'post':
159161 if (c.root == issue.id) {
160162 var changed = this.web.issues.isStatusChanged(msg, issue)
161163 return '<section class="collapse">' +

Built with git-ssb-web