summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/show.html.haml
blob: ce2d9cf7d71398956e342acbef30770a17b73fc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- page_title "Environments"

= render "header_title"

.gray-content-block
  Latest deployments for
  %strong
    = @environment

%ul.content-list
  - if @builds.blank?
    %li
      .nothing-here-block No builds to show for specific environment
  - else
    .table-holder
      %table.table.builds
        %thead
          %tr
            %th Status
            %th Build ID
            %th Commit
            %th Ref
            %th Name
            %th Duration
            %th Finished at
            %th

        = render @builds, commit_sha: true, ref: true, allow_retry: true

    = paginate @builds, theme: 'gitlab'