diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-18 14:56:22 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-18 14:56:22 +0200 |
commit | 20438213d5f16907f0b0ea2cd2722b6ccfdc7556 (patch) | |
tree | d658442c0375640b94e4ab4be86f5641c22e9a9f /app/views/projects/deployments | |
parent | 640924e4a23dcfe1e8d6b616e822bfc7fce56d8f (diff) | |
download | gitlab-ce-20438213d5f16907f0b0ea2cd2722b6ccfdc7556.tar.gz |
Use `capitalize` instead of `titleize` for manual actions
Diffstat (limited to 'app/views/projects/deployments')
-rw-r--r-- | app/views/projects/deployments/_actions.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/deployments/_actions.haml b/app/views/projects/deployments/_actions.haml index 9a8d4a63007..8dd9e70ac67 100644 --- a/app/views/projects/deployments/_actions.haml +++ b/app/views/projects/deployments/_actions.haml @@ -12,7 +12,7 @@ %li = link_to [:play, @project.namespace.becomes(Namespace), @project, action], method: :post, rel: 'nofollow' do = icon("play") - %span= action.name.titleize + %span= action.name.capitalize - if defined?(allow_rollback) && allow_rollback = link_to [:retry, @project.namespace.becomes(Namespace), @project, deployment.deployable], method: :post, class: 'btn btn-build' do |