Skip to content
Snippets Groups Projects
Commit 2bfe9691 authored by hahn's avatar hahn
Browse files

ci - #1789: CI-Server - Kinderkrankheiten - fix color in chrome

parent 91be408c
Branches
No related tags found
No related merge requests found
......@@ -2433,12 +2433,14 @@ class project extends base {
. 'color: rgba('
. ($iFgStart + round(hexdec(substr($sHash,0,3))/$iFgDivider)) . ','
. ($iFgStart + round(hexdec(substr($sHash,3,3))/$iFgDivider)) . ','
. ($iFgStart + round(hexdec(substr($sHash,6,3))/$iFgDivider))
. ($iFgStart + round(hexdec(substr($sHash,6,3))/$iFgDivider)) . ','
. '1'
. ');'
. 'background: rgba('
. ($iBgStart + round(hexdec(substr($sHash,0,3))/$iBgDivider)) . ','
. ($iBgStart + round(hexdec(substr($sHash,3,3))/$iBgDivider)) . ','
. ($iBgStart + round(hexdec(substr($sHash,6,3))/$iBgDivider))
. ($iBgStart + round(hexdec(substr($sHash,6,3))/$iBgDivider)) . ','
. '1'
. ');'
;
} else {
......@@ -2977,8 +2979,9 @@ class project extends base {
$oHtml->getIconByType('calendar') . t('build-from') . ' ' . date("d.m.Y H:i:s", strtotime($aInfos["date"])) . '<br>'
. $oHtml->getIconByType('branch') . t('branch') . ': ' . $aInfos["branch"] . '<br>'
. $oHtml->getIconByType('revision') . t('revision') . ': ' . $this->_renderRevision($aInfos["revision"]) . '<br>'
. $oHtml->getIconByType('comment') . t('commitmessage') . ': '
)
. $oHtml->getIconByType('comment') . t('commitmessage') . ':<br><span class="pre">' . strip_tags($aInfos["message"], '<br>') . '</span>';
. '<pre>' . strip_tags($aInfos["message"], '<br>') . '</pre>';
if (array_key_exists("more", $aOptions)) {
$sInfos.=$aOptions["more"];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment