Skip to content

Commit

Permalink
#173 [TimeSpent] add: move warning info message in tooltip task
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Feb 9, 2023
1 parent b1cce5e commit fb7e569
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions view/timespent_month.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,7 @@
print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
$tooltipTaskInfo .= img_help(1, $langs->trans('KeyEvent')) . ' ' . $langs->trans('KeyEventTips') . '<br><br>';
if ($user->conf->DOLISIRH_SHOW_ONLY_FAVORITE_TASKS > 0) {
print '<br>';
print '<div class="opacitymedium"><i class="fas fa-exclamation-triangle"></i>'.' '.$langs->trans('WarningShowOnlyFavoriteTasks').'</div>';
$tooltipTaskInfo .= '<div class="opacitymedium"><i class="fas fa-exclamation-triangle"></i>'.' '.$langs->trans('WarningShowOnlyFavoriteTasks').'</div>';
}

print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
Expand Down
3 changes: 1 addition & 2 deletions view/timespent_week.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,7 @@
print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
$tooltipTaskInfo .= img_help(1, $langs->trans('KeyEvent')) . ' ' . $langs->trans('KeyEventTips') . '<br><br>';
if ($user->conf->DOLISIRH_SHOW_ONLY_FAVORITE_TASKS > 0) {
print '<br>';
print '<div class="opacitymedium"><i class="fas fa-exclamation-triangle"></i>'.' '.$langs->trans('WarningShowOnlyFavoriteTasks').'</div>';
$tooltipTaskInfo .= '<div class="opacitymedium"><i class="fas fa-exclamation-triangle"></i>'.' '.$langs->trans('WarningShowOnlyFavoriteTasks').'</div>';
}

print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
Expand Down

0 comments on commit fb7e569

Please sign in to comment.