Skip to content

Commit

Permalink
Fix request Add a review style
Browse files Browse the repository at this point in the history
For consistency we moved it under an %ul tag like in `project` and
`package`.
  • Loading branch information
DavidKang committed Apr 25, 2019
1 parent 6b2dadf commit 9019fd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Expand Up @@ -6,9 +6,3 @@
= render partial: 'webui/webui/collapsible_text', locals: { text: bs_request.description }
- else
%i No description set
- if can_add_reviews
%p
= link_to(add_reviewer_dialog_path(number: bs_request.number),
data: { toggle: 'modal', target: '#add-reviewer-modal' }) do
%i.fas.fa-plus-circle.text-primary
Add a Review
7 changes: 7 additions & 0 deletions src/api/app/views/webui2/webui/request/show.html.haml
Expand Up @@ -23,6 +23,13 @@
.col-md-4
= render partial: 'show_side_links', locals: { bs_request: @bs_request, package_maintainers: @package_maintainers,
other_open_reviews: @other_open_reviews, my_open_reviews: @my_open_reviews }
- if @can_add_reviews
%ul.list-inline.mb-0
%li.list-inline-item
= link_to(add_reviewer_dialog_path(number: @bs_request.number),
data: { toggle: 'modal', target: '#add-reviewer-modal' }, class: 'nav-link') do
%i.fas.fa-plus-circle.text-primary
Add a Review

.card.mb-3
.bg-light
Expand Down

0 comments on commit 9019fd3

Please sign in to comment.