Commit df13c9ca authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Hide user page sidebar for mobilde devices

parent 1475cb9a
.row .row
.col-md-8 = link_to '#aside', class: 'show-aside' do
%i.fa.fa-angle-left
%section.col-md-8
%h3.page-title %h3.page-title
= image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: '' = image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: ''
= @user.name = @user.name
...@@ -19,6 +21,7 @@ ...@@ -19,6 +21,7 @@
= render 'groups', groups: @groups = render 'groups', groups: @groups
%hr %hr
.hidden-xs
.user-calendar .user-calendar
%h4.center.light %h4.center.light
%i.fa.fa-spinner.fa-spin %i.fa.fa-spinner.fa-spin
...@@ -33,7 +36,7 @@ ...@@ -33,7 +36,7 @@
%i.fa.fa-rss %i.fa.fa-rss
= render @events = render @events
.col-md-4 %aside.col-md-4
= render 'profile', user: @user = render 'profile', user: @user
= render 'projects' = render 'projects'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment