Add a link to the conference index in the sidebar

This commit is contained in:
Petko Bordjukov 2014-10-14 21:04:01 +03:00
parent db1bb07565
commit 17bbe0372a
2 changed files with 24 additions and 1 deletions

View File

@ -34,6 +34,23 @@
margin-bottom: 0;
}
.sidebar {
background: none;
}
.sidebar li a:hover {
background: none;
color: $link-color;
}
.sidebar ul li a {
color: $gray;
}
.sidebar ul li.active a {
color: $link-color;
}
.sidebar .arrow {
float: right;
}
@ -68,4 +85,7 @@
padding-right: 30px;
}
}
}
#side-menu {
}

View File

@ -47,8 +47,11 @@ html
ul.nav#side-menu
li
a.active href="index.html"
i.fa.fa-wrench.fa-fw
i.fa.fa-dashboard.fa-fw
| Dashboard
li class="#{controller_name == 'conferences' ? 'active' : nil}"
= link_to management_conferences_path
= fa_icon :group, text: Conference.model_name.human(count: 2).mb_chars.capitalize
div.content#page-wrapper
== yield