Commit 1d5a13cea33ab32bc0aa5832a27660c49b5625f4
Merge branch 'div_titles_for_git'
mix irving committed on 1/22/2017, 4:06:00 AMParent: 2264a334a0bf3da0cda5d13e61903a94651feafe
Parent: f6391d5b5450e27f0c7a8dba7d82a53c4ad2634a
Files changed
modules_extra/git.js | changed |
modules_extra/git.js | ||
---|---|---|
@@ -455,27 +455,28 @@ | ||
455 | 455 … | var c = msg.value.content |
456 | 456 … | |
457 | 457 … | if(c.type === 'git-repo') { |
458 | 458 … | 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)) : '' | |
461 | 462 … | ]) |
462 | 463 … | } |
463 | 464 … | |
464 | 465 … | if(c.type === 'git-update') { |
465 | - return h('p', 'pushed to ', repoLink(c.repo)) | |
466 … | + return h('div', 'pushed to ', repoLink(c.repo)) | |
466 | 467 … | } |
467 | 468 … | |
468 | 469 … | if(c.type === 'issue-edit') { |
469 | 470 … | return |
470 | 471 … | } |
471 | 472 … | |
472 | 473 … | if(c.type === 'issue') { |
473 | - return h('p', 'opened issue on ', repoLink(c.project)) | |
474 … | + return h('div', 'opened issue on ', repoLink(c.project)) | |
474 | 475 … | } |
475 | 476 … | |
476 | 477 … | if(c.type === 'pull-request') { |
477 | - return h('p', 'opened pull-request ', [ | |
478 … | + return h('div', 'opened pull-request ', [ | |
478 | 479 … | 'to ', repoLink(c.repo), ':', c.branch, ' ', |
479 | 480 … | 'from ', repoLink(c.head_repo), ':', c.head_branch |
480 | 481 … | ]) |
481 | 482 … | } |
Built with git-ssb-web