summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/show.html.haml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-04-29 15:14:38 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-10 22:38:40 +0200
commitcf7da039bedcad5163ce9deedccc94206d4c485a (patch)
treefe865b6b7f017a964f01f2909fbf1842bc6e3992 /app/views/projects/environments/show.html.haml
parentff345f8ba11658c679b423e06bbc42b90af158eb (diff)
downloadgitlab-ce-cf7da039bedcad5163ce9deedccc94206d4c485a.tar.gz
commit status
Diffstat (limited to 'app/views/projects/environments/show.html.haml')
-rw-r--r--app/views/projects/environments/show.html.haml30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/views/projects/environments/show.html.haml b/app/views/projects/environments/show.html.haml
new file mode 100644
index 00000000000..ce2d9cf7d71
--- /dev/null
+++ b/app/views/projects/environments/show.html.haml
@@ -0,0 +1,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'