Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
efa26c93
Commit
efa26c93
authored
Oct 05, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop offenses
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
9bbef09b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/helpers/audit_events_helper.rb
app/helpers/audit_events_helper.rb
+1
-1
app/helpers/tree_helper.rb
app/helpers/tree_helper.rb
+2
-2
No files found.
app/helpers/audit_events_helper.rb
View file @
efa26c93
...
...
@@ -7,7 +7,7 @@ module AuditEventsHelper
if
key
.
match
(
/^(author|target)_.*/
)
""
else
"
#{
key
.
to_s
}
<strong>
#{
value
}
</strong>"
"
#{
key
}
<strong>
#{
value
}
</strong>"
end
end
end
app/helpers/tree_helper.rb
View file @
efa26c93
...
...
@@ -155,7 +155,7 @@ module TreeHelper
def
disabled_lock_link
(
label
,
title
,
html_options
)
html_options
[
'data-toggle'
]
=
'tooltip'
html_options
[
:title
]
=
title
html_options
[
:class
]
=
"
#{
html_options
[
:class
]
.
to_s
}
disabled has-tooltip"
html_options
[
:class
]
=
"
#{
html_options
[
:class
]
}
disabled has-tooltip"
content_tag
:span
,
label
,
html_options
end
...
...
@@ -163,7 +163,7 @@ module TreeHelper
def
enabled_lock_link
(
label
,
title
,
html_options
)
html_options
[
'data-toggle'
]
=
'tooltip'
html_options
[
:title
]
=
title
html_options
[
:class
]
=
"
#{
html_options
[
:class
]
.
to_s
}
has-tooltip"
html_options
[
:class
]
=
"
#{
html_options
[
:class
]
}
has-tooltip"
link_to
label
,
'#'
,
html_options
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment