Skip to content

Commit

Permalink
Merge pull request #521 from amatsuda/proposal_diff_for_reviewers
Browse files Browse the repository at this point in the history
Show proposal diff for reviewers, not submitters
  • Loading branch information
amatsuda authored Mar 6, 2025
2 parents aa7e762 + 0bbb11d commit d8d9507
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 d8d9507

Please sign in to comment.