#35 Ticket dashboard now shows autorefresh time
This commit is contained in:
parent
daaca6c631
commit
9f78ed41fd
@ -114,8 +114,12 @@ if ($total > 0)
|
||||
|
||||
$prev_page = ($page - 1 <= 0) ? 0 : $page - 1;
|
||||
$next_page = ($page + 1 > $pages) ? 0 : $page + 1;
|
||||
|
||||
echo sprintf($hesklang['tickets_on_pages'],$total,$pages).' <br />';
|
||||
$autorefreshInSeconds = $_SESSION['autorefresh']/1000;
|
||||
$autorefresh = '';
|
||||
if ($autorefreshInSeconds > 0) {
|
||||
$autorefresh = ' | '.$hesklang['autorefresh'].' '.$autorefreshInSeconds.' '.$hesklang['abbr']['second'];
|
||||
}
|
||||
echo sprintf($hesklang['tickets_on_pages'],$total,$pages).$autorefresh.' <br />';
|
||||
|
||||
if ($pages > 1)
|
||||
{
|
||||
@ -485,6 +489,11 @@ EOC;
|
||||
else
|
||||
{
|
||||
echo '<div class="row"><div class="col-sm-12">';
|
||||
$autorefreshInSeconds = $_SESSION['autorefresh']/1000;
|
||||
|
||||
if ($autorefreshInSeconds > 0) {
|
||||
echo $hesklang['autorefresh'].' '.$autorefreshInSeconds.' '.$hesklang['abbr']['second'];
|
||||
}
|
||||
|
||||
if (isset($is_search) || $href == 'find_tickets.php')
|
||||
{
|
||||
|
@ -21,6 +21,9 @@ $hesklang['_COLLATE']='utf8_unicode_ci';
|
||||
// This is the email break line that will be used in email piping
|
||||
$hesklang['EMAIL_HR']='------ Reply above this line ------';
|
||||
|
||||
// ADDED OR MODIFIED IN NuMods 1.3.1
|
||||
$hesklang['autorefresh'] = 'Autorefresh:';
|
||||
|
||||
// ADDED OR MODIFIED IN NuMods 1.3.0
|
||||
$hesklang['show_filters'] = 'Show Column Filters';
|
||||
$hesklang['hide_filters'] = 'Hide Column Filters';
|
||||
|
Loading…
x
Reference in New Issue
Block a user