1
0
Fork 0
mirror of https://gitlab.crans.org/elkmaennchen/gitscord-webhook synced 2025-02-18 02:00:04 +01:00

bug : action didn't appear properly on title

This commit is contained in:
elkmaennchen 2020-03-28 18:44:06 +01:00
parent 0a3a644e62
commit 8c14da0aa1

View file

@ -197,7 +197,7 @@ function MR_layout($messageJSON,$JSON,$lang) {
$txt_action_description="*Problem with GitScord, please report.*";
}
$messageJSON['content'] = $txt_ligne_MR[$lang];
$messageJSON['embeds'] = array(array('title'=> $txt_title_MR[$lang].' *'.$JSON['project']['name'].'*',
$messageJSON['embeds'] = array(array('title'=> $txt_action.' *'.$JSON['project']['name'].'*',
'description'=> "**".$JSON['object_attributes']['title']."**\n".$txt_action_description,
'url'=> $JSON['object_attributes']['url'],
'timestamp'=> $JSON['object_attributes']['created_at'],