|
|
@ -128,7 +128,7 @@ function tag_layout($messageJSON,$JSON,$lang) {
|
|
|
|
$messageJSON['content'] = $txt_ligne_tag[$lang] ;
|
|
|
|
$messageJSON['content'] = $txt_ligne_tag[$lang] ;
|
|
|
|
$messageJSON['embeds'] = array(array('title'=> $txt_title_tag[$lang].' *'.$JSON['project']['name'].'*',
|
|
|
|
$messageJSON['embeds'] = array(array('title'=> $txt_title_tag[$lang].' *'.$JSON['project']['name'].'*',
|
|
|
|
'description'=> $JSON['message'],
|
|
|
|
'description'=> $JSON['message'],
|
|
|
|
'url'=> $JSON['project']['web_url'].$JSON['ref'],
|
|
|
|
'url'=> $JSON['project']['web_url'],
|
|
|
|
'timestamp'=> $JSON['commits'][0]['timestamp'],
|
|
|
|
'timestamp'=> $JSON['commits'][0]['timestamp'],
|
|
|
|
'author'=> array('name'=> $JSON['user_name'])),);
|
|
|
|
'author'=> array('name'=> $JSON['user_name'])),);
|
|
|
|
return($messageJSON);
|
|
|
|
return($messageJSON);
|
|
|
|