Skip to content

Commit

Permalink
#58 [TimeSpent] fix: favorite star spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-theo committed Nov 10, 2022
1 parent ed1e67a commit 5bbb07b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/dolisirh_function.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -967,9 +967,9 @@ function doliSirhLinesPerDay(&$inc, $parent, $fuser, $lines, &$level, &$projects
}
print $taskstatic->getNomUrl(1, 'withproject', 'time');
if (isTaskFavorite($taskstatic->id, $fuser->id)) {
print '<span class="fas fa-star"></span>';
print ' <span class="fas fa-star"></span>';
} else {
print '<span class="far fa-star"></span>';
print ' <span class="far fa-star"></span>';
}
// Label task
print '<br>';
Expand Down Expand Up @@ -1242,9 +1242,9 @@ function doliSirhTaskLinesWithinRange(&$inc, $firstdaytoshow, $lastdaytoshow, $f
}
print $taskstatic->getNomUrl(1, 'withproject', 'time');
if (isTaskFavorite($taskstatic->id, $fuser->id)) {
print '<span class="fas fa-star"></span>';
print ' <span class="fas fa-star"></span>';
} else {
print '<span class="far fa-star"></span>';
print ' <span class="far fa-star"></span>';
}
// Label task
print '<br>';
Expand Down

0 comments on commit 5bbb07b

Please sign in to comment.