Skip to content
Snippets Groups Projects
Commit d53c2c22 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

implment output of project errors

parent c958ea94
Branches
No related tags found
1 merge request!556559 handle corrupt config
......@@ -75,6 +75,8 @@ class projectlist extends base{
$sDivInprogress='<div class="progressinprogress" title="'.t("progress-inprogress").'">'.$oHtml->getIcon('refresh').t("progress-inprogress").'</div>';
$sDivHasqueue='<div class="progresshasqueue" title="'.t("progress-hasqueue").'">'.$oHtml->getIcon('waiting').t("progress-hasqueue").'</div>';
$sErrors='';
// foreach (array_keys($this->_aPhases) as $sPhase) {
foreach (array_keys($oPrj1->getPhases()) as $sPhase) {
$sPhaseFilter.='<option value="' . $sPhase . '" >' . $sPhase . '</option>';
......@@ -132,6 +134,8 @@ class projectlist extends base{
}
$sErrors.=$oPrj->renderErrorBoxes();
$sOut2 .= '<div class="' . $sClasses . ' prjbox"><div class="title">'
.$oHtml->getLink(array(
'href'=>'#',
......@@ -534,6 +538,7 @@ class projectlist extends base{
</div>
<br>
'.$sErrors.'
<div class="view viewsimple">
' . $sOut2 . '
......
......@@ -345,8 +345,8 @@ if ($aParams["prj"] == "all") {
$sOut.=$oHtml->getBox("error", t("page-setup-error-settings-were-not-saved"));
}
}
$sOut.=$oPrj->renderProjectSetup();
$sErrors=$oPrj->renderErrorBoxes();
$sOut.= $sErrors ? $oPrj->renderErrorBoxes() : $oPrj->renderProjectSetup();
}
$sOut.= '<div id="navbuttom">' . aPrjHome() . '</div>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment