summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_collapsed.html.haml
blob: 9bd1255fe0086f145ead71e770207ae81e67aa63 (plain)
1
2
3
4
5
- diff_file = viewer.diff_file
- url = url_for(safe_params.merge(action: :diff_for_path, old_path: diff_file.old_path, new_path: diff_file.new_path, file_identifier: diff_file.file_identifier))
.nothing-here-block.diff-collapsed{ data: { diff_for_path: url } }
  This diff is collapsed.
  %button.click-to-expand.btn.btn-link Click to expand it.