mirror of
https://github.com/matrix-construct/construct
synced 2025-03-14 05:20:17 +01:00
modules/web_hook: Additional spacing adjustments related 7a0da02bf6
.
This commit is contained in:
parent
d9ceeb4e9d
commit
fb59da6bbb
1 changed files with 13 additions and 9 deletions
|
@ -512,15 +512,16 @@ github_handle__pull_request(std::ostream &out,
|
|||
};
|
||||
|
||||
if(!empty(body))
|
||||
out << " "
|
||||
out << ' '
|
||||
<< "<pre><code>"
|
||||
<< body
|
||||
<< "</code></pre>"
|
||||
<< " "
|
||||
<< ' '
|
||||
;
|
||||
|
||||
if(pr.has("commits"))
|
||||
out << " "
|
||||
out << ' '
|
||||
<< " "
|
||||
<< "<b>"
|
||||
<< pr["commits"]
|
||||
<< ' '
|
||||
|
@ -533,7 +534,8 @@ github_handle__pull_request(std::ostream &out,
|
|||
;
|
||||
|
||||
if(pr.has("comments"))
|
||||
out << " "
|
||||
out << ' '
|
||||
<< " "
|
||||
<< "<b>"
|
||||
<< pr["comments"]
|
||||
<< ' '
|
||||
|
@ -546,7 +548,8 @@ github_handle__pull_request(std::ostream &out,
|
|||
;
|
||||
|
||||
if(pr.has("changed_files"))
|
||||
out << " "
|
||||
out << ' '
|
||||
<< " "
|
||||
<< "<b>"
|
||||
<< pr["changed_files"]
|
||||
<< ' '
|
||||
|
@ -560,7 +563,8 @@ github_handle__pull_request(std::ostream &out,
|
|||
;
|
||||
|
||||
if(pr.has("additions"))
|
||||
out << " "
|
||||
out << ' '
|
||||
<< " "
|
||||
<< "<b>"
|
||||
<< "<font color=\"#33CC33\">"
|
||||
<< "++"
|
||||
|
@ -570,7 +574,7 @@ github_handle__pull_request(std::ostream &out,
|
|||
;
|
||||
|
||||
if(pr.has("deletions"))
|
||||
out << " "
|
||||
out << ' '
|
||||
<< "<b>"
|
||||
<< "<font color=\"#CC0000\">"
|
||||
<< "--"
|
||||
|
@ -586,7 +590,7 @@ github_handle__pull_request(std::ostream &out,
|
|||
break;
|
||||
|
||||
case "true"_:
|
||||
out << " "
|
||||
out << ' '
|
||||
<< "<font color=\"#FFFFFF\""
|
||||
<< "data-mx-bg-color=\"#03B381\">"
|
||||
<< "<b>"
|
||||
|
@ -599,7 +603,7 @@ github_handle__pull_request(std::ostream &out,
|
|||
break;
|
||||
|
||||
case "false"_:
|
||||
out << " "
|
||||
out << ' '
|
||||
<< "<font color=\"#FFFFFF\""
|
||||
<< "data-mx-bg-color=\"#CC0000\">"
|
||||
<< "<b>"
|
||||
|
|
Loading…
Add table
Reference in a new issue