git ssb

16+

Dominic / patchbay



Commit 1d5a13cea33ab32bc0aa5832a27660c49b5625f4

Merge branch 'div_titles_for_git'

mix irving committed on 1/22/2017, 4:06:00 AM
Parent: 2264a334a0bf3da0cda5d13e61903a94651feafe
Parent: f6391d5b5450e27f0c7a8dba7d82a53c4ad2634a

Files changed

modules_extra/git.jschanged
modules_extra/git.jsView
@@ -455,27 +455,28 @@
455455 var c = msg.value.content
456456
457457 if(c.type === 'git-repo') {
458458 return h('div', [
459- h('p', 'git repo ', repoName(msg.key)),
460- c.upstream ? h('p', 'fork of ', repoLink(c.upstream)) : ''
459 + h('div', 'git repo ', repoName(msg.key)),
460 + c.upstream ? h('br') : '',
461 + c.upstream ? h('div', 'fork of ', repoLink(c.upstream)) : ''
461462 ])
462463 }
463464
464465 if(c.type === 'git-update') {
465- return h('p', 'pushed to ', repoLink(c.repo))
466 + return h('div', 'pushed to ', repoLink(c.repo))
466467 }
467468
468469 if(c.type === 'issue-edit') {
469470 return
470471 }
471472
472473 if(c.type === 'issue') {
473- return h('p', 'opened issue on ', repoLink(c.project))
474 + return h('div', 'opened issue on ', repoLink(c.project))
474475 }
475476
476477 if(c.type === 'pull-request') {
477- return h('p', 'opened pull-request ', [
478 + return h('div', 'opened pull-request ', [
478479 'to ', repoLink(c.repo), ':', c.branch, ' ',
479480 'from ', repoLink(c.head_repo), ':', c.head_branch
480481 ])
481482 }

Built with git-ssb-web