mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
modules/web_hook: Embolden the ref name on create/delete events.
This commit is contained in:
parent
fb15e8c30b
commit
aa24c43137
1 changed files with 16 additions and 10 deletions
|
@ -1142,11 +1142,14 @@ github_handle__create(std::ostream &out,
|
|||
content["ref_type"]
|
||||
};
|
||||
|
||||
out << ' '
|
||||
<< ref_type
|
||||
<< ' '
|
||||
<< ref
|
||||
;
|
||||
out
|
||||
<< ' '
|
||||
<< ref_type
|
||||
<< ' '
|
||||
<< "<b>"
|
||||
<< ref
|
||||
<< "</b>"
|
||||
;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -1165,11 +1168,14 @@ github_handle__delete(std::ostream &out,
|
|||
content["ref_type"]
|
||||
};
|
||||
|
||||
out << ' '
|
||||
<< ref_type
|
||||
<< ' '
|
||||
<< ref
|
||||
;
|
||||
out
|
||||
<< ' '
|
||||
<< ref_type
|
||||
<< ' '
|
||||
<< "<b>"
|
||||
<< ref
|
||||
<< "</b>"
|
||||
;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue