git ssb

30+

cel / git-ssb-web



Commit c11ca3daa98207ed3135bb82c987cf1aadb4f7ea

Add msg key to issue comments

Charles Lehner committed on 4/13/2016, 2:11:23 AM
Parent: 28ee0655c00f29d4d71fe8f7ed7d0913771291ff

Files changed

index.jschanged
static/styles.csschanged
index.jsView
@@ -2016,8 +2016,9 @@
20162016 if (c.root == issue.id) {
20172017 var changed = issues.isStatusChanged(msg, issue)
20182018 return '<section class="collapse">' +
20192019 (msg.key == postId ? '<div class="highlight">' : '') +
2020+ '<tt class="right-bar item-id">' + msg.key + '</tt>' +
20202021 authorLink +
20212022 (changed == null ? '' : ' ' + (
20222023 changed ? 'reopened this ' : 'closed this ') + type) +
20232024 ' &middot; ' + msgTimeLink +
static/styles.cssView
@@ -324,8 +324,14 @@
324324 padding: .25ex .5ex;
325325 margin: -.25ex -.5ex;
326326 }
327327
328+.item-id {
329+ color: grey;
330+ line-height: 2;
331+ font-size: 10pt;
332+}
333+
328334 /* code and diffs */
329335
330336 .code {
331337 border-collapse: collapse;

Built with git-ssb-web