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

show.html.haml « compare « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5e6b5b71753874f37a0a6a30ad812db2a89724a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
= render "projects/commits/head"

%h3.page-title
  Compare View

= render "form"

- if @commits.size > 100
  .alert.alert-block
    %p
      %strong Warning! This comparison include 100+ commits.
    %p To prevent performance issue we dont show diff information.

- if @commits.present?
  %div.ui-box
    .title
      Commits (#{@commits.count})
    %ul.well-list= render Commit.decorate(@commits)

  - unless @diffs.empty?
    %h4 Diff
    = render "projects/commits/diffs", diffs: @diffs