summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-11-06 09:49:41 -0600
committerJose Ivan Vargas <jvargas@gitlab.com>2017-11-06 10:30:06 -0600
commit21ec0b14139f01074f74cb2cce1ceeeba579a773 (patch)
tree89991577badb7534bf43ec45795e0ffddb68fbf0 /app/views
parent892de12db0ff6b66a19317abd48ae918bf3a0879 (diff)
downloadgitlab-ce-21ec0b14139f01074f74cb2cce1ceeeba579a773.tar.gz
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/tags/_tag.html.haml2
-rw-r--r--app/views/projects/tags/index.html.haml2
-rw-r--r--app/views/projects/tags/show.html.haml2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/tags/_tag.html.haml b/app/views/projects/tags/_tag.html.haml
index 9548b4688d6..467f19b4c56 100644
--- a/app/views/projects/tags/_tag.html.haml
+++ b/app/views/projects/tags/_tag.html.haml
@@ -18,7 +18,7 @@
= render 'projects/branches/commit', commit: commit, project: @project
- else
%p
- = s_('TagsPage|Cannot find HEAD commit for this tag')
+ = s_("TagsPage|Can't find HEAD commit for this tag")
- if release && release.description.present?
.description.prepend-top-default
.wiki
diff --git a/app/views/projects/tags/index.html.haml b/app/views/projects/tags/index.html.haml
index b78a0efa585..fd3b8c01b83 100644
--- a/app/views/projects/tags/index.html.haml
+++ b/app/views/projects/tags/index.html.haml
@@ -1,6 +1,6 @@
- @no_container = true
- @sort ||= sort_value_recently_updated
-- page_title _('Tags')
+- page_title _('TagsPage|Tags')
- add_to_breadcrumbs("Repository", project_tree_path(@project))
.flex-list{ class: container_class }
diff --git a/app/views/projects/tags/show.html.haml b/app/views/projects/tags/show.html.haml
index 04b1c88842d..dfe2c37ed8e 100644
--- a/app/views/projects/tags/show.html.haml
+++ b/app/views/projects/tags/show.html.haml
@@ -16,7 +16,7 @@
- if @commit
= render 'projects/branches/commit', commit: @commit, project: @project
- else
- = s_('TagsPage|Cannot find HEAD commit for this tag')
+ = s_("TagsPage|Can't find HEAD commit for this tag")
.nav-controls.controls-flex
- if can?(current_user, :push_code, @project)