0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

modules/webhook: Handle case for status state error.

[skip ci]
This commit is contained in:
Jason Volk 2019-04-04 01:34:02 -07:00
parent 2e980e967b
commit b3038fa5e7

View file

@ -956,6 +956,11 @@ github_handle__status(std::ostream &out,
<< "<font data-mx-bg-color=\"#CC0000\">"
;
else if(state == "error")
out << " "
<< "<font data-mx-bg-color=\"#280000\">"
;
out << "&nbsp;"
<< "<a href="
<< url