Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_diff_with_notes.html.haml « discussions « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4a41be972da8f2384505990afece63dedc1b1105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- diff_file = discussion.diff_file
- blob = discussion.blob

.diff-file.file-holder
  .js-file-title.file-title.file-title-flex-parent
    .file-header-content
      = render "projects/diffs/file_header", diff_file: diff_file, url: discussion_path(discussion), show_toggle: false

  .diff-content.code.js-syntax-highlight
    %table
      - discussions = { discussion.original_line_code => [discussion] }
      = render partial: "projects/diffs/line",
        collection: discussion.truncated_diff_lines,
        as: :line,
        locals: { diff_file: diff_file,
          discussions: discussions,
          discussion_expanded: true,
          plain: true }