From fa61a269650788279a3fa389d106cce0a2418d48 Mon Sep 17 00:00:00 2001 From: Nathan Febuary <nathan@enhancesoft.com> Date: Mon, 5 Oct 2015 09:44:13 -0500 Subject: [PATCH] Add location for ticket response Adds an additional location for the ticket response above the ticket thread for a reverse order view of the ticket thread. Additionally the reply/internal note button would be selected and the page would auto scroll to the bottom. --- include/staff/ticket-view.inc.php | 6 ++++++ scp/css/scp.css | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php index 077066875..63f1083d0 100644 --- a/include/staff/ticket-view.inc.php +++ b/include/staff/ticket-view.inc.php @@ -473,6 +473,12 @@ $tcount = $ticket->getThreadEntries($types)->count(); <div id="ticket_tabs_container"> <div id="ticket_thread" class="tab_content"> + +<div class="ticket-response pull-right"> + <a class="action-button muted" data-toggle="tooltip" title="Post Reply"><i class="icon-mail-reply"></i></a> + <a class="action-button muted" data-toggle="tooltip" title="Internal Note"><i class="icon-file-text"></i></a> +</div> +<div class="clear"></div> <?php // Render ticket thread $ticket->getThread()->render( diff --git a/scp/css/scp.css b/scp/css/scp.css index 5b3141cb1..b108e5b9e 100644 --- a/scp/css/scp.css +++ b/scp/css/scp.css @@ -904,6 +904,12 @@ h2 .reload { border-bottom:none; margin:0; } +/***** top page ticket response buttons *****/ +.ticket-response { + color:#555; + padding-bottom:6px; +} + .thread-entry { margin-bottom: 15px; z-index: 0; -- GitLab