mirror of
https://github.com/matrix-construct/construct
synced 2025-03-13 13:00:33 +01:00
modules/web_hook: Tweak spacing on pull request.
This commit is contained in:
parent
27324d42bc
commit
7a0da02bf6
1 changed files with 8 additions and 5 deletions
|
@ -452,6 +452,8 @@ github_handle__pull_request(std::ostream &out,
|
|||
<< ">"
|
||||
<< json::string(pr["title"])
|
||||
<< "</a>"
|
||||
<< " "
|
||||
<< ' '
|
||||
;
|
||||
|
||||
const json::object head
|
||||
|
@ -514,6 +516,7 @@ github_handle__pull_request(std::ostream &out,
|
|||
<< "<pre><code>"
|
||||
<< body
|
||||
<< "</code></pre>"
|
||||
<< " "
|
||||
;
|
||||
|
||||
if(pr.has("commits"))
|
||||
|
@ -530,7 +533,7 @@ github_handle__pull_request(std::ostream &out,
|
|||
;
|
||||
|
||||
if(pr.has("comments"))
|
||||
out << " "
|
||||
out << " "
|
||||
<< "<b>"
|
||||
<< pr["comments"]
|
||||
<< ' '
|
||||
|
@ -543,7 +546,7 @@ github_handle__pull_request(std::ostream &out,
|
|||
;
|
||||
|
||||
if(pr.has("changed_files"))
|
||||
out << " "
|
||||
out << " "
|
||||
<< "<b>"
|
||||
<< pr["changed_files"]
|
||||
<< ' '
|
||||
|
@ -557,7 +560,7 @@ github_handle__pull_request(std::ostream &out,
|
|||
;
|
||||
|
||||
if(pr.has("additions"))
|
||||
out << " "
|
||||
out << " "
|
||||
<< "<b>"
|
||||
<< "<font color=\"#33CC33\">"
|
||||
<< "++"
|
||||
|
|
Loading…
Add table
Reference in a new issue