From acd5bedffd5addf596031ecdeae798019375cab0 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 9 Jul 2015 18:24:10 +0300 Subject: [PATCH] reverted "Go back" href, added button to switch to quota report page (#1472568) icons + buttons in quotareport.php fix minor differences between working installation and tree in shifttemplate.php --- admin/quotareport.php | 10 +++++----- admin/quotarow.php | 6 ++++-- admin/shifttemplate.php | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/admin/quotareport.php b/admin/quotareport.php index 7aec9b9f..880effc2 100644 --- a/admin/quotareport.php +++ b/admin/quotareport.php @@ -204,16 +204,16 @@ if ($questionnaire_id) if ($completions < $v['completions']) //if completions less than the quota, allow for closing/opening { if ($v['quota_reached'] == 1) - $status = "" . T_("closed") . ""; + $status = "" . T_("closed") . ""; else - $status = "" . T_("open") . ""; + $status = "" . T_("open") . " "; } else { if ($v['quota_reached'] == 1) - $status = T_("closed"); + $status = "" . T_("closed") . ""; else - $status = T_("open"); + $status = "" . T_("open") . " "; } $report[] = array("strata" => "" . $v['description'] . "", "status" => $status, "quota" => $v['completions'], "sample" => $drawn + $remain, "sampleused" => $drawn, "sampleremain" => $remain, "completions" => $completions, "perc" => $perc, "priority" => "", "autoprioritise" => "  "); @@ -302,7 +302,7 @@ if ($questionnaire_id) } -xhtml_foot(); +xhtml_foot(array("../js/custom.js")); ?>