diff --git a/admin/survey/classes/class.SurveyDiagnostics.php b/admin/survey/classes/class.SurveyDiagnostics.php index deb4c1a9c..64b75604d 100644 --- a/admin/survey/classes/class.SurveyDiagnostics.php +++ b/admin/survey/classes/class.SurveyDiagnostics.php @@ -480,7 +480,10 @@ class SurveyDiagnostics $sas = new SurveyAdminSettings(); $dejanski_cas = ($sas->testiranje_cas(1) == null) ? '-' : $sas->testiranje_cas(1); echo '

'.$dejanski_cas.'

'; - echo ''.$lang['srv_testiranje_cas_info'].''; + if ($sas->testiranje_cas(1) == null) + echo $lang['srv_data_no_data']; + else + echo ''.$lang['srv_testiranje_cas_info'].''; echo ''; #box //Ocena trajanja @@ -556,12 +559,12 @@ class SurveyDiagnostics echo '
'.$lang['srv_diagnostic_4_element_4'].':
'; echo ''; echo '
'; - echo '
'.(int)SurveyInfo::getSurveyGroupCount() . ' ' . ((int)SurveyInfo::getSurveyGroupCount() == 1 ? $lang['srv_page']: $lang['srv_diagnostics_strani']).'
'; - echo '
'.(int)$this->cnt_spremenljivka . ' ' . ((int)$this->cnt_spremenljivka == 1 ? $lang['srv_casi_po_vprasanjih_vprasanje'] : ((int)$this->cnt_spremenljivka == 2 ? $lang['srv_info_questions2'] : ((int)$this->cnt_spremenljivka < 5 ? $lang['srv_info_questions3'] : $lang['srv_info_questions1']) )).'
'; - echo '
'.(int)$this->cnt_hidden . ' '. ((int)$this->cnt_hidden == 1 ? $lang['srv_hidden_text'] : ((int)$this->cnt_hidden == 2 ? $lang['srv_hidden_text2'] : ((int)$this->cnt_hidden < 5 ? $lang['srv_hidden_text3'] : $lang['srv_hidden_text4']) )). ' ' . ((int)$this->cnt_hidden == 1 ? $lang['srv_casi_po_vprasanjih_vprasanje'] : ((int)$this->cnt_hidden == 2 ? $lang['srv_info_questions2'] : ((int)$this->cnt_hidden < 5 ? $lang['srv_info_questions3'] : $lang['srv_info_questions1']) )).'
'; - echo '
'.(int)SurveyInfo::getSurveyVariableCount() . ' ' . ((int)SurveyInfo::getSurveyVariableCount() == 1 ? $lang['srv_spremenljivka'] : ((int)SurveyInfo::getSurveyVariableCount() == 2 ? $lang['srv_spremenljivka2'] : ((int)SurveyInfo::getSurveyVariableCount() < 5 ? $lang['srv_spremenljivka3'] : $lang['srv_spremenljivka4']) )).'
'; - echo '
'.(int)$this->cnt_conditions . ' ' . ((int)$this->cnt_conditions == 1 ? $lang['srv_pogoj'] : ((int)$this->cnt_conditions == 2 ? $lang['srv_pogoj2'] : ((int)$this->cnt_conditions < 5 ? $lang['srv_pogoj3'] : $lang['srv_pogoj4']) )).'
'; - echo '
'.(int)$this->cnt_blocks . ' ' . ((int)$this->cnt_blocks == 1 ? $lang['srv_blok'] : ((int)$this->cnt_blocks == 2 ? $lang['srv_blok2'] : ((int)$this->cnt_blocks < 5 ? $lang['srv_blok3'] : $lang['srv_blok4']) )).'
'; + echo '
'.(int)SurveyInfo::getSurveyGroupCount() . ' ' . ((int)SurveyInfo::getSurveyGroupCount() == 1 ? $lang['page']: $lang['srv_diagnostics_strani']).'
'; + echo '
'.(int)$this->cnt_spremenljivka . ' ' . ((int)$this->cnt_spremenljivka == 1 ? $lang['srv_casi_po_vprasanjih_vprasanje'] : ((int)$this->cnt_spremenljivka == 2 ? $lang['srv_info_questions2'] : ((int)$this->cnt_spremenljivka > 4 || (int)$this->cnt_spremenljivka == 0 ? $lang['srv_info_questions1'] : $lang['srv_info_questions3']) )).'
'; + echo '
'.(int)$this->cnt_hidden . ' '. ((int)$this->cnt_hidden == 1 ? $lang['srv_hidden_text'] : ((int)$this->cnt_hidden == 2 ? $lang['srv_hidden_text2'] : ((int)$this->cnt_hidden > 4 || (int)$this->cnt_hidden == 0 ? $lang['srv_hidden_text4'] : $lang['srv_hidden_text3']) )). ' ' . ((int)$this->cnt_hidden == 1 ? $lang['srv_casi_po_vprasanjih_vprasanje'] : ((int)$this->cnt_hidden == 2 ? $lang['srv_info_questions2'] : ((int)$this->cnt_hidden > 4 || (int)$this->cnt_hidden == 0 ? $lang['srv_info_questions1'] : $lang['srv_info_questions3']) )).'
'; + echo '
'.(int)SurveyInfo::getSurveyVariableCount() . ' ' . ((int)SurveyInfo::getSurveyVariableCount() == 1 ? $lang['srv_spremenljivka'] : ((int)SurveyInfo::getSurveyVariableCount() == 2 ? $lang['srv_spremenljivka2'] : ((int)SurveyInfo::getSurveyVariableCount() > 4 || (int)SurveyInfo::getSurveyVariableCount() == 0 ? $lang['srv_spremenljivka4'] : $lang['srv_spremenljivka3']) )).'
'; + echo '
'.(int)$this->cnt_conditions . ' ' . ((int)$this->cnt_conditions == 1 ? $lang['srv_pogoj'] : ((int)$this->cnt_conditions == 2 ? $lang['srv_pogoj2'] : ((int)$this->cnt_conditions > 4 || (int)$this->cnt_conditions == 0 ? $lang['srv_pogoj4'] : $lang['srv_pogoj3']) )).'
'; + echo '
'.(int)$this->cnt_blocks . ' ' . ((int)$this->cnt_blocks == 1 ? $lang['srv_blok'] : ((int)$this->cnt_blocks == 2 ? $lang['srv_blok2'] : ((int)$this->cnt_blocks > 4 || (int)$this->cnt_blocks == 0 ? $lang['srv_blok4'] : $lang['srv_blok3']) )).'
'; echo '
'.(int)$this->globina.'
'; echo '
'; echo ''; #box diff --git a/public/css/admin_new.css b/public/css/admin_new.css index 6f72dfe1f..6f61c76da 100644 --- a/public/css/admin_new.css +++ b/public/css/admin_new.css @@ -24238,6 +24238,7 @@ div#srv_diagnostic .lastnosti_wrapper .lastnosti_middle .box { flex-direction: column; box-sizing: border-box; min-height: 150px; + font-size: 14px !important; } div#srv_diagnostic .lastnosti_wrapper .lastnosti_left .box .title, div#srv_diagnostic .lastnosti_wrapper .lastnosti_middle .box .title { @@ -24262,7 +24263,7 @@ div#srv_diagnostic .lastnosti_wrapper .lastnosti_middle .box .diagnostic_graph . display: flex; flex-direction: column; justify-content: center; - gap: 16px; + gap: 30px; } div#srv_diagnostic .lastnosti_wrapper .lastnosti_left .box .diagnostic_graph .other_text a, div#srv_diagnostic .lastnosti_wrapper .lastnosti_middle .box .diagnostic_graph .other_text a { diff --git a/resources/sass/admin_new/pages/survey_testiranje/diagnostika.scss b/resources/sass/admin_new/pages/survey_testiranje/diagnostika.scss index 96d4852e3..cfbe08e7c 100644 --- a/resources/sass/admin_new/pages/survey_testiranje/diagnostika.scss +++ b/resources/sass/admin_new/pages/survey_testiranje/diagnostika.scss @@ -83,6 +83,8 @@ div#srv_diagnostic { min-height: 150px; + font-size: 14px !important; + .title { text-transform: uppercase; font-weight: $semi-bold; @@ -104,7 +106,7 @@ div#srv_diagnostic { display: flex; flex-direction: column; justify-content: center; - gap: 16px; + gap: 30px; a { text-decoration: none;