From 80d68ae01d3ef428c7903b86e563c2c18eb29b12 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Fri, 8 Aug 2014 22:01:46 -0400 Subject: [PATCH] Got a bit further in the responsive green row. Still some work to do. --- ticket.php | 72 ++++++++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 40 deletions(-) diff --git a/ticket.php b/ticket.php index 10e0afdd..131e1ed3 100644 --- a/ticket.php +++ b/ticket.php @@ -269,49 +269,41 @@ require_once(HESK_PATH . 'inc/header.inc.php'); if ($ticket['isClosed'] == true && $ticket['locked'] != 1 && $hesk_settings['custopen']) {echo ''.$hesklang['open_action'].'';} else {echo ''.$hesklang['close_action'].'';} ?>

-
- -
- - - - +
';} - elseif ($ticket['priority'] == 1) {echo 'class="highPriority">';} - else {echo 'class="medLowPriority">';} - - echo '

'.$hesklang['priority'].'

'; - - if ($ticket['priority']==0) {echo '

'.$hesklang['critical'].'

';} - elseif ($ticket['priority']==1) {echo '

'.$hesklang['high'].'

';} - elseif ($ticket['priority']==2) {echo '

'.$hesklang['medium'].'

';} - else {echo '

'.$hesklang['low'].'

';} - echo ''; - } - else - { - $hesk_settings['ticketColumnWidth'] = 5; - } - echo '
'; - echo ''; - echo ''; - echo ''; + if ($hesk_settings['cust_urgency']) + { + $repliesColumnWidth = 2; + echo '
';} + elseif ($ticket['priority'] == 1) {echo 'highPriority">';} + else {echo 'medLowPriority" style="border-right: solid 1px #ddd; margin-top: 1px;">';} + echo '

'.$hesklang['priority'].'

'; + + if ($ticket['priority']==0) {echo '

'.$hesklang['critical'].'

';} + elseif ($ticket['priority']==1) {echo '

'.$hesklang['high'].'

';} + elseif ($ticket['priority']==2) {echo '

'.$hesklang['medium'].'

';} + else {echo '

'.$hesklang['low'].'

';} + echo '
'; + } + else + { + $hesk_settings['ticketColumnWidth'] = 3; + } + echo '

'.$hesklang['status'].'

'; + $ticketStatusKey = $ticket['statusKey']; + echo '

'.$hesklang[$ticketStatusKey].'

'; + echo '
'; + echo '

'.$hesklang['last_replier'].'

+

'.$ticket['repliername'].'

'; + echo '

'.$hesklang['category'].'

+

'.$category['name'].'

'; + echo '

'.$hesklang['replies'].'

+

'.$replies.'

'; ?> - -

'.$hesklang['status'].'

'; - $ticketStatusKey = $ticket['statusKey']; - echo '

'.$hesklang[$ticketStatusKey].'

'; - echo '

'.$hesklang['last_replier'].'

-

'.$ticket['repliername'].'

'.$hesklang['category'].'

-

'.$category['name'].'

'.$hesklang['replies'].'

-

'.$replies.'

+ +