Skip to content

Commit

Permalink
Show proposal diff for reviewers, not submitters
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Mar 6, 2025
1 parent aa7e762 commit 0bbb11d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/views/proposals/_contents.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,3 @@
%div
= value.capitalize
%div

- unless proposal.changeset_fields.blank?
%h2.fieldset-legend Proposal Diff...
- proposal.versions.each do |version|
#diff-view
- version.changeset.each do |k, (old, new)|
%h3.control-label= k.titleize
%div= diff old, new

:css
= #{Diffy::CSS}
11 changes: 11 additions & 0 deletions app/views/staff/proposal_reviews/_reviewer_contents.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,14 @@
%div
= value.capitalize
%div

- unless proposal.changeset_fields.blank?
%h2.fieldset-legend Proposal Diff...
- proposal.versions.each do |version|
#diff-view
- version.changeset.each do |k, (old, new)|
%h3.control-label= k.titleize
%div= diff old, new

:css
= #{Diffy::CSS}

0 comments on commit 0bbb11d

Please sign in to comment.