diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-09-01 04:25:28 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-09-01 04:28:54 +0300 |
commit | 6dc252e4066d4e9100954f51e357bdaaffba6e64 (patch) | |
tree | b3620c9a11aaf22f0205a7cc214827cea0eb45ab /app/views/projects/pipelines | |
parent | a1cd338c6c31fbfde155adb4620f5314b45ca0ce (diff) |
Fix incorrect `page_title`, `nav`, and `header_title` usage in views
During https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19766,
several usages of these helper methods were mistakenly changed to
instead assign to a (completely unused) local variable.
When `page_title` was misused, for example, this resulted in the page no
longer having a custom title set.
Diffstat (limited to 'app/views/projects/pipelines')
-rw-r--r-- | app/views/projects/pipelines/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipelines/new.html.haml b/app/views/projects/pipelines/new.html.haml index c13e3194340..5b6823da1f6 100644 --- a/app/views/projects/pipelines/new.html.haml +++ b/app/views/projects/pipelines/new.html.haml @@ -1,5 +1,5 @@ - breadcrumb_title "Pipelines" -- page_title = s_("Pipeline|Run Pipeline") +- page_title s_("Pipeline|Run Pipeline") - settings_link = link_to _('CI/CD settings'), project_settings_ci_cd_path(@project) %h3.page-title |