summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-13 08:37:38 +0000
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-07-14 14:47:49 +0100
commit7547fbd3427bf30ee36bcedbfffb1de60eed833d (patch)
treed294677fe9e934f73d5798c9678e5ac65fca8d2d
parent19cf8ccfcc4fd7fe5ac173f65e7d7e9ea84519ce (diff)
downloadgitlab-ce-7547fbd3427bf30ee36bcedbfffb1de60eed833d.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)