Skip to content

Commit

Permalink
Add an intermediate partial to differ loading _changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ncounter committed Mar 28, 2024
1 parent ee12c62 commit e81bd2c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/api/app/views/webui/request/_changes_content.html.haml
@@ -0,0 +1,12 @@
- if diff_to_superseded
You're reviewing changes from
= link_to("superseded request ##{diff_to_superseded.number}.", request_show_path(number: diff_to_superseded))
This only represents a small part of changes which are included in this request.
= surround('(', ')') do
= link_to('See the full changes for request', request_changes_path(number: bs_request.number))
- else
- bs_request.superseding.each do |supersed|
See the changes from
= link_to "superseded request ##{supersed.number}", request_changes_path(bs_request, diff_to_superseded: supersed)

= render SourcediffComponent.new(bs_request: bs_request, action: action)

0 comments on commit e81bd2c

Please sign in to comment.