diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-03-29 15:06:49 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-03-29 15:06:49 +0300 |
commit | bb853779761d07a6aa7ba38cefbaa2128db0fd4b (patch) | |
tree | 040457bb1ff5d2ba3586c1bc8ed004f1befcbe1a /app/views/projects | |
parent | 3375baff6aff06838b10663da88b678790fd0da5 (diff) |
Use translated string for breadcrumb title
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/empty.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/no_repo.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/show.html.haml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml index 8a36fada389..b15fe514a08 100644 --- a/app/views/projects/empty.html.haml +++ b/app/views/projects/empty.html.haml @@ -1,5 +1,5 @@ - @no_container = true -- breadcrumb_title "Details" +- breadcrumb_title _("Details") = render partial: 'flash_messages', locals: { project: @project } diff --git a/app/views/projects/no_repo.html.haml b/app/views/projects/no_repo.html.haml index eb77ba4d2a5..14d880028c7 100644 --- a/app/views/projects/no_repo.html.haml +++ b/app/views/projects/no_repo.html.haml @@ -1,4 +1,4 @@ -- breadcrumb_title "Details" +- breadcrumb_title _("Details") %h2 %i.fa.fa-warning diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index fa281327eb7..94331a16abd 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -1,5 +1,5 @@ - @no_container = true -- breadcrumb_title "Details" +- breadcrumb_title _("Details") - @content_class = "limit-container-width" unless fluid_layout - show_auto_devops_callout = show_auto_devops_callout?(@project) |