From 5036c7d508e679835f618abaf4654efc8c877d0c Mon Sep 17 00:00:00 2001
From: Nathan Febuary <nathan@enhancesoft.com>
Date: Mon, 24 Aug 2015 08:50:34 -0500
Subject: [PATCH] UI fix for delete button highlight - 2456

---
 include/staff/templates/task-view.tmpl.php | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/include/staff/templates/task-view.tmpl.php b/include/staff/templates/task-view.tmpl.php
index fda5d66ef..5f46f07ab 100644
--- a/include/staff/templates/task-view.tmpl.php
+++ b/include/staff/templates/task-view.tmpl.php
@@ -53,7 +53,7 @@ if ($role->hasPerm(Task::PERM_DELETE)) {
             'delete' => array(
                 'href' => sprintf('#tasks/%d/delete', $task->getId()),
                 'icon' => 'icon-trash',
-                'class' => 'red button task-action',
+                'class' => 'danger',
                 'label' => __('Delete'),
                 'redirect' => 'tasks.php'
             ));
@@ -130,10 +130,9 @@ if ($task->isOverdue())
                 class="action-dropdown anchor-right">
                 <ul>
             <?php foreach ($actions as $a => $action) { ?>
-                    <li>
-                        <a class="no-pjax <?php
-                            echo $action['class'] ?: 'task-action'; ?>"
-                            <?php
+                    <li class="<?php
+                            echo $action['class'] ?: 'task-action'; ?>">
+                        <a class="no-pjax task-action" <?php
                             if ($action['dialog'])
                                 echo sprintf("data-dialog-config='%s'", $action['dialog']);
                             if ($action['redirect'])
-- 
GitLab