Merge branch 'i18n-extract-app/views/projects-deployments' into 'master'
i18n: externalize strings from 'app/views/projects/deployments' See merge request gitlab-org/gitlab-ce!19848
This commit is contained in:
commit
d17170da5c
|
@ -14,4 +14,4 @@
|
|||
= author_avatar(deployment.commit, size: 20)
|
||||
= link_to_markdown commit_title, project_commit_path(@project, deployment.sha), class: "commit-row-message"
|
||||
- else
|
||||
Cant find HEAD commit for this branch
|
||||
= _("Can't find HEAD commit for this branch")
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
.gl-responsive-table-row.deployment{ role: 'row' }
|
||||
.table-section.section-10{ role: 'gridcell' }
|
||||
.table-mobile-header{ role: 'rowheader' } ID
|
||||
.table-mobile-header{ role: 'rowheader' }= _("ID")
|
||||
%strong.table-mobile-content ##{deployment.iid}
|
||||
|
||||
.table-section.section-30{ role: 'gridcell' }
|
||||
.table-mobile-header{ role: 'rowheader' } Commit
|
||||
.table-mobile-header{ role: 'rowheader' }= _("Commit")
|
||||
= render 'projects/deployments/commit', deployment: deployment
|
||||
|
||||
.table-section.section-25.build-column{ role: 'gridcell' }
|
||||
.table-mobile-header{ role: 'rowheader' } Job
|
||||
.table-mobile-header{ role: 'rowheader' }= _("Job")
|
||||
- if deployment.deployable
|
||||
.table-mobile-content
|
||||
.flex-truncate-parent
|
||||
|
@ -21,7 +21,7 @@
|
|||
= user_avatar(user: deployment.user, size: 20)
|
||||
|
||||
.table-section.section-15{ role: 'gridcell' }
|
||||
.table-mobile-header{ role: 'rowheader' } Created
|
||||
.table-mobile-header{ role: 'rowheader' }= _("Created")
|
||||
%span.table-mobile-content= time_ago_with_tooltip(deployment.created_at)
|
||||
|
||||
.table-section.section-20.table-button-footer{ role: 'gridcell' }
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- if can?(current_user, :create_deployment, deployment) && deployment.deployable
|
||||
= link_to [:retry, @project.namespace.becomes(Namespace), @project, deployment.deployable], method: :post, class: 'btn btn-build' do
|
||||
- if deployment.last?
|
||||
Re-deploy
|
||||
= _("Re-deploy")
|
||||
- else
|
||||
Rollback
|
||||
= _("Rollback")
|
||||
|
|
Loading…
Reference in New Issue