summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/conflicts/_commit_stats.html.haml
blob: 5ab3cd96163c3d623fe704ae406c616a813d3fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.content-block.oneline-block.files-changed{"v-if" => "!isLoading && !hasError"}
  .inline-parallel-buttons{"v-if" => "showDiffViewTypeSwitcher"}
    .btn-group
      %button.btn{":class" => "{'active': !isParallel}", "@click" => "handleViewTypeChange('inline')"}
        Inline
      %button.btn{":class" => "{'active': isParallel}", "@click" => "handleViewTypeChange('parallel')"}
        Side-by-side

  .js-toggle-container
    .commit-stat-summary
      Showing
      %strong.cred {{conflictsCountText}}
      between
      %strong {{conflictsData.sourceBranch}}
      and
      %strong {{conflictsData.targetBranch}}