-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
List mentioned issues in the request show redesign
- Loading branch information
Dany Marcoux
committed
Nov 15, 2022
1 parent
87e7239
commit c5403b5
Showing
4 changed files
with
30 additions
and
7 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
16 changes: 12 additions & 4 deletions
16
src/api/app/views/webui/request/beta_show_tabs/_mentioned_issues.html.haml
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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
%p | ||
The mentioned issues aren't here yet, but they will be displayed here in the future. | ||
- if issues.empty? | ||
%p No issues are mentioned for this request action. | ||
- else | ||
%ul.list-group.list-group-flush | ||
- issues.each do |issue_name, issue_details| | ||
%li.list-group-item | ||
= link_to(issue_name, issue_details[:url], target: '_blank', rel: 'noopener') | ||
- if issue_details[:owner] && issue_details[:state] | ||
%span.ml-3= issue_details[:state]&.capitalize | ||
%span.ml-3= user_with_realname_and_icon issue_details[:owner], short: true | ||
|
||
%p | ||
%i The OBS team | ||
- if issue_details[:summary] | ||
= render partial: 'webui/shared/collapsible_text', locals: { text: issue_details[:summary], extra_css_classes: 'mt-2' } |