0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-03-13 04:50:21 +01:00

modules/web_hook: Tweak spacing on pull request.

This commit is contained in:
Jason Volk 2020-03-26 19:43:13 -07:00
parent 27324d42bc
commit 7a0da02bf6

View file

@ -452,6 +452,8 @@ github_handle__pull_request(std::ostream &out,
<< ">"
<< json::string(pr["title"])
<< "</a>"
<< "&nbsp;"
<< ' '
;
const json::object head
@ -514,10 +516,11 @@ github_handle__pull_request(std::ostream &out,
<< "<pre><code>"
<< body
<< "</code></pre>"
<< " &nbsp; "
;
if(pr.has("commits"))
out << " "
out << " "
<< "<b>"
<< pr["commits"]
<< ' '
@ -530,7 +533,7 @@ github_handle__pull_request(std::ostream &out,
;
if(pr.has("comments"))
out << " "
out << " &nbsp;"
<< "<b>"
<< pr["comments"]
<< ' '
@ -543,7 +546,7 @@ github_handle__pull_request(std::ostream &out,
;
if(pr.has("changed_files"))
out << " "
out << " &nbsp;"
<< "<b>"
<< pr["changed_files"]
<< ' '
@ -557,7 +560,7 @@ github_handle__pull_request(std::ostream &out,
;
if(pr.has("additions"))
out << " "
out << " &nbsp;"
<< "<b>"
<< "<font color=\"#33CC33\">"
<< "++"
@ -567,7 +570,7 @@ github_handle__pull_request(std::ostream &out,
;
if(pr.has("deletions"))
out << " "
out << " "
<< "<b>"
<< "<font color=\"#CC0000\">"
<< "--"