-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show review badges also on group-level
Show review badges also in the foldable job group entries on index page and parent group overview
- Loading branch information
Showing
4 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
% my $reviewed = $build_res->{reviewed}; | ||
% if ($reviewed) { | ||
<span id="<%= $id_prefix %>review-<%= $group_build_id %>"> | ||
<i class="review fa fa-certificate" title="Reviewed (<%= $build_res->{labeled}; %> <%= $build_res->{labeled} == 1 ? 'comment' : 'comments' %>)"></i> | ||
</span> | ||
% } | ||
% my $reviewed_all_passed = $build_res->{reviewed_all_passed}; | ||
% if ($reviewed_all_passed) { | ||
<span id="<%= $id_prefix %>review-all-passed-<%= $group_build_id %>"> | ||
<i class="review-all-passed fa fa-certificate" title="Reviewed (all passed)"></i> | ||
</span> | ||
% } |