debian-mirror-gitlab/app/views/projects/environments/show.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1.7 KiB
Text
Raw Normal View History

2019-02-15 15:39:39 +05:30
- add_to_breadcrumbs _("Environments"), project_environments_path(@project)
2018-03-17 18:26:18 +05:30
- breadcrumb_title @environment.name
2019-02-15 15:39:39 +05:30
- page_title _("Environments")
2021-01-03 14:25:43 +05:30
- add_page_specific_style 'page_bundles/xterm'
- add_page_specific_style 'page_bundles/environments'
2021-01-29 00:20:46 +05:30
- add_page_specific_style 'page_bundles/ci_status'
2019-09-30 21:07:59 +05:30
2021-10-27 15:23:28 +05:30
#environments-detail-view{ data: { details: environments_detail_data_json(current_user, @project, @environment) } }
#environments-detail-view-header
2020-04-22 19:07:51 +05:30
.environments-container
- if @deployments.blank?
.empty-state
.text-content
%h4.state-title
= _("You don't have any deployments right now.")
2022-04-04 11:22:00 +05:30
%p
2020-10-24 23:57:45 +05:30
= html_escape(_("Define environments in the deploy stage(s) in %{code_open}.gitlab-ci.yml%{code_close} to track deployments here.")) % { code_open: '<code>'.html_safe, code_close: '</code>'.html_safe }
2020-04-22 19:07:51 +05:30
.text-center
2021-04-29 21:17:54 +05:30
= link_to _("Read more"), help_page_path("ci/environments/index.md"), class: "gl-button btn btn-confirm"
2020-04-22 19:07:51 +05:30
- else
2020-11-24 15:15:51 +05:30
.table-holder.gl-overflow-visible
2020-04-22 19:07:51 +05:30
.ci-table.environments{ role: 'grid' }
.gl-responsive-table-row.table-row-header{ role: 'row' }
.table-section.section-15{ role: 'columnheader' }= _('Status')
.table-section.section-10{ role: 'columnheader' }= _('ID')
.table-section.section-10{ role: 'columnheader' }= _('Triggerer')
.table-section.section-25{ role: 'columnheader' }= _('Commit')
.table-section.section-10{ role: 'columnheader' }= _('Job')
.table-section.section-10{ role: 'columnheader' }= _('Created')
.table-section.section-10{ role: 'columnheader' }= _('Deployed')
2020-04-22 19:07:51 +05:30
= render @deployments
= paginate @deployments, theme: 'gitlab'