Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-18 13:19:08 +0300
committerDouwe Maan <douwe@gitlab.com>2015-12-18 13:19:08 +0300
commit0ac57a540d245a24219519c4093d15b8ab2f536c (patch)
tree350906452678e2dd17ea1a022747302461e7ff83 /app/views/projects/tree
parentd9c82d679fd622aead99aeb90369361a05e02a36 (diff)
Satisfy Rubocop
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r--app/views/projects/tree/_tree_header.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree_header.html.haml b/app/views/projects/tree/_tree_header.html.haml
index 6167006f947..7453eb7a4a4 100644
--- a/app/views/projects/tree/_tree_header.html.haml
+++ b/app/views/projects/tree/_tree_header.html.haml
@@ -15,7 +15,7 @@
- if current_user
%li
- if !on_top_of_branch?
- %span.btn.btn-sm.add-to-tree.disabled.has_tooltip{title: "You can only add files when you are on a branch", data: {container: 'body'}}
+ %span.btn.btn-sm.add-to-tree.disabled.has_tooltip{title: "You can only add files when you are on a branch", data: { container: 'body' }}
= icon('plus')
- elsif can_edit_tree?
%span.dropdown