summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-13 08:37:38 +0000
committerPhil Hughes <me@iamphill.com>2017-07-13 08:37:38 +0000
commitd0b50e4490256d0c4550c7bd2831e9b43f19ffba (patch)
tree47b506500bb3cbb09677b8be41be8b13dd8b6589
parentd741df1dfb5644bc4d17ce0719db1da236403c65 (diff)
parent0c75742fbd936c9c058b249fc05e0964870f53d6 (diff)
downloadgitlab-ce-d0b50e4490256d0c4550c7bd2831e9b43f19ffba.tar.gz
Merge branch '35036-commit-page-dropdown' into 'master'
Fix i18n string in commit page options dropdown Closes #35036 See merge request !12831
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index 572c368990e..45109f2c58b 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -30,7 +30,7 @@
%ul.dropdown-menu.dropdown-menu-align-right
%li.visible-xs-block.visible-sm-block
= link_to project_tree_path(@project, @commit) do
- _('Browse Files')
+ #{ _('Browse Files') }
- unless @commit.has_been_reverted?(current_user)
%li.clearfix
= revert_commit_link(@commit, project_commit_path(@project, @commit.id), has_tooltip: false)