Add balance in menu
This commit is contained in:
parent
915d051e8f
commit
38facba605
2 changed files with 6 additions and 2 deletions
|
@ -14,6 +14,9 @@ $color: #777;
|
|||
height: 100%;
|
||||
padding: 20px;
|
||||
color: $color;
|
||||
font-size: 1.875rem;
|
||||
line-height: 1.4;
|
||||
font-weight: 300;
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
|
@ -36,7 +39,7 @@ $color: #777;
|
|||
float: right;
|
||||
|
||||
.menu-item {
|
||||
&:hover {
|
||||
&.menu-item-signout:hover {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}
|
||||
|
|
|
@ -18,4 +18,5 @@
|
|||
Zeus Notifications
|
||||
%span.badge= User.zeus.notifications.size
|
||||
.menu-list.menu-right
|
||||
= link_to 'Sign out', sign_out_path, method: :delete, class: 'menu-item'
|
||||
%span.menu-item= euro_from_cents current_user.balance
|
||||
= link_to 'Sign out', sign_out_path, method: :delete, class: 'menu-item menu-item-signout'
|
||||
|
|
Loading…
Reference in a new issue