Skip to content

Commit

Permalink
Keep icon as dropdown, move text to tooltip
Browse files Browse the repository at this point in the history
- #10
  • Loading branch information
aljawaid committed Feb 24, 2023
1 parent 4c93e6d commit 71c76f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/TemplateTitleHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function renderDescriptionAndTitleTemplateDropdown($projectId)

if (! empty($templates)) {
$html = '<div id="TaskDescDropdownWrapper" class="dropdown">';
$html .= '<a href="#" id="TaskDescDropdown" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-floppy-o fa-fw" aria-hidden="true"></i>'.t('Use a task description template').' <i class="fa fa-caret-down" aria-hidden="true"></i></a>';
$html .= '<a href="#" id="TaskDescDropdown" class="dropdown-menu dropdown-menu-link-icon" title="' .t('Use a task description template') .'"><i class="fa fa-floppy-o fa-fw" aria-hidden="true"></i> <i class="fa fa-caret-down" aria-hidden="true"></i></a>';
$html .= '<ul class="task-desc-template-list">';
$html .= '<span class="template-list-title">Available templates for this project</span>';

Expand Down

0 comments on commit 71c76f7

Please sign in to comment.