summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/conflicts/_file_actions.html.haml
blob: 2595ce74ac0ee2a8c090346273a16b02a34e5308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.file-actions
  .btn-group{ "v-if" => "file.type === 'text'" }
    %button.btn{ ":class" => "{ 'active': file.resolveMode == 'interactive' }",
      '@click' => "onClickResolveModeButton(file, 'interactive')",
      type: 'button' }
      Interactive mode
    %button.btn{ ':class' => "{ 'active': file.resolveMode == 'edit' }",
      '@click' => "onClickResolveModeButton(file, 'edit')",
      type: 'button' }
      Edit inline
  %a.btn.view-file.btn-file-option{ ":href" => "file.blobPath" }
    View file @{{conflictsData.shortCommitSha}}