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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
17948951
Commit
17948951
authored
Aug 15, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1234 from studiofrenetic/fix-admin-hook-tab
Fix current class for hooks tab in admin section
parents
0456dd72
6641761e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+1
-1
app/views/layouts/admin.html.haml
app/views/layouts/admin.html.haml
+1
-1
No files found.
app/helpers/application_helper.rb
View file @
17948951
...
...
@@ -110,7 +110,7 @@ module ApplicationHelper
when
:admin_root
;
controller
.
controller_name
==
"dashboard"
when
:admin_users
;
controller
.
controller_name
==
'users'
when
:admin_projects
;
controller
.
controller_name
==
"projects"
when
:admin_
emails
;
controller
.
controller_name
==
'mailer
'
when
:admin_
hooks
;
controller
.
controller_name
==
'hooks
'
when
:admin_resque
;
controller
.
controller_name
==
'resque'
when
:admin_logs
;
controller
.
controller_name
==
'logs'
...
...
app/views/layouts/admin.html.haml
View file @
17948951
...
...
@@ -14,7 +14,7 @@
=
link_to
"Users"
,
admin_users_path
%li
{
class:
tab_class
(
:admin_logs
)}
=
link_to
"Logs"
,
admin_logs_path
%li
{
class:
tab_class
(
:admin_
email
s
)}
%li
{
class:
tab_class
(
:admin_
hook
s
)}
=
link_to
"Hooks"
,
admin_hooks_path
%li
{
class:
tab_class
(
:admin_resque
)}
=
link_to
"Resque"
,
admin_resque_path
...
...
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