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"])
|
<< json::string(pr["title"])
|
||||||
<< "</a>"
|
<< "</a>"
|
||||||
|
<< " "
|
||||||
|
<< ' '
|
||||||
;
|
;
|
||||||
|
|
||||||
const json::object head
|
const json::object head
|
||||||
|
@ -514,10 +516,11 @@ github_handle__pull_request(std::ostream &out,
|
||||||
<< "<pre><code>"
|
<< "<pre><code>"
|
||||||
<< body
|
<< body
|
||||||
<< "</code></pre>"
|
<< "</code></pre>"
|
||||||
|
<< " "
|
||||||
;
|
;
|
||||||
|
|
||||||
if(pr.has("commits"))
|
if(pr.has("commits"))
|
||||||
out << " "
|
out << " "
|
||||||
<< "<b>"
|
<< "<b>"
|
||||||
<< pr["commits"]
|
<< pr["commits"]
|
||||||
<< ' '
|
<< ' '
|
||||||
|
@ -530,7 +533,7 @@ github_handle__pull_request(std::ostream &out,
|
||||||
;
|
;
|
||||||
|
|
||||||
if(pr.has("comments"))
|
if(pr.has("comments"))
|
||||||
out << " "
|
out << " "
|
||||||
<< "<b>"
|
<< "<b>"
|
||||||
<< pr["comments"]
|
<< pr["comments"]
|
||||||
<< ' '
|
<< ' '
|
||||||
|
@ -543,7 +546,7 @@ github_handle__pull_request(std::ostream &out,
|
||||||
;
|
;
|
||||||
|
|
||||||
if(pr.has("changed_files"))
|
if(pr.has("changed_files"))
|
||||||
out << " "
|
out << " "
|
||||||
<< "<b>"
|
<< "<b>"
|
||||||
<< pr["changed_files"]
|
<< pr["changed_files"]
|
||||||
<< ' '
|
<< ' '
|
||||||
|
@ -557,7 +560,7 @@ github_handle__pull_request(std::ostream &out,
|
||||||
;
|
;
|
||||||
|
|
||||||
if(pr.has("additions"))
|
if(pr.has("additions"))
|
||||||
out << " "
|
out << " "
|
||||||
<< "<b>"
|
<< "<b>"
|
||||||
<< "<font color=\"#33CC33\">"
|
<< "<font color=\"#33CC33\">"
|
||||||
<< "++"
|
<< "++"
|
||||||
|
@ -567,7 +570,7 @@ github_handle__pull_request(std::ostream &out,
|
||||||
;
|
;
|
||||||
|
|
||||||
if(pr.has("deletions"))
|
if(pr.has("deletions"))
|
||||||
out << " "
|
out << " "
|
||||||
<< "<b>"
|
<< "<b>"
|
||||||
<< "<font color=\"#CC0000\">"
|
<< "<font color=\"#CC0000\">"
|
||||||
<< "--"
|
<< "--"
|
||||||
|
|
Loading…
Add table
Reference in a new issue