summaryrefslogtreecommitdiff
path: root/app/Helper/TaskHelper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-11-03 11:04:18 -0700
committerFrederic Guillot <fred@kanboard.net>2017-11-03 11:04:18 -0700
commitbf623e0e08d63dbafec7d98bd16abb0815295e83 (patch)
tree81ebca5ce24ecbeee510aa350b62a8a664b13765 /app/Helper/TaskHelper.php
parente6f8a76a188960512ced32133b85686d9a8d9090 (diff)
Improve dropdown for task description templates
Diffstat (limited to 'app/Helper/TaskHelper.php')
-rw-r--r--app/Helper/TaskHelper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Helper/TaskHelper.php b/app/Helper/TaskHelper.php
index 43347a6d..cc164ce0 100644
--- a/app/Helper/TaskHelper.php
+++ b/app/Helper/TaskHelper.php
@@ -66,8 +66,8 @@ class TaskHelper extends Base
$templates = $this->predefinedTaskDescriptionModel->getAll($projectId);
if (! empty($templates)) {
- $html = '<div class="dropdown">';
- $html .= '<a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-floppy-o fa-fw" aria-hidden="true"></i>'.t('Description Templates').' <i class="fa fa-caret-down" aria-hidden="true"></i></a>';
+ $html = '<div class="dropdown dropdown-smaller">';
+ $html .= '<a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-floppy-o fa-fw" aria-hidden="true"></i>'.t('Template for the task description').' <i class="fa fa-caret-down" aria-hidden="true"></i></a>';
$html .= '<ul>';
foreach ($templates as $template) {