git ssb

16+

Dominic / patchbay



Commit 706e99a769b070931c21d59e78030c60a37afc48

tidyup

mix irving committed on 1/1/2017, 2:05:43 AM
Parent: d9d89ed326a9b97344e1acbc7381a71a23657b73

Files changed

modules_basic/message.mcsschanged
modules_extra/git.jschanged
modules_basic/message.mcssView
@@ -33,9 +33,8 @@
3333 }
3434
3535 section.content {
3636 flex-basis: 100%
37- clear: both
3837
3938 (img) {
4039 max-width: 100%
4140 }
modules_extra/git.jsView
@@ -474,26 +474,25 @@
474474 if(c.type === 'git-update') {
475475 return h('p', 'pushed to ', repoLink(c.repo))
476476 }
477477
478- if(c.type === 'issue-edit'
479- || (c.type === 'post' && c.text === '')) {
480- return h('div',
478 + if(c.type === 'issue-edit' || (c.type === 'post' && c.text === '')) {
479 + return h('div', [
481480 c.issue ? renderIssueEdit(c) : null,
482- c.issues ? c.issues.map(renderIssueEdit) : null)
481 + c.issues ? c.issues.map(renderIssueEdit) : null
482 + ])
483483 }
484484
485485 if(c.type === 'issue') {
486486 return h('p', 'opened issue on ', repoLink(c.project))
487487 }
488488
489489 if(c.type === 'pull-request') {
490- return h('p', 'opened pull-request ',
491- 'to ', repoLink(c.repo), ':', c.branch, ' ',
492- 'from ', repoLink(c.head_repo), ':', c.head_branch
493- )
490 + return h('p', 'opened pull-request ', [
491 + 'to ', repoLink(c.repo), ':', c.branch, ' ',
492 + 'from ', repoLink(c.head_repo), ':', c.head_branch
493 + ])
494494 }
495-
496495 },
497496
498497 message_meta: function (msg, sbot) {
499498 var type = msg.value.content.type
@@ -543,5 +542,4 @@
543542 }
544543 }
545544 }
546545
547-

Built with git-ssb-web