= render partial: 'menu' h1 Your data - unless current_user.name.blank? h2 Your name = current_user.name - unless current_user.email.blank? h2 Your email address p = current_user.email p.help-text ' This web site recognizes you by your email address. ' Don't worry - it will not be shown or given to anyone. - unless current_user.provider.blank? h2 Account provider p You logged in using #{current_user.pretty_provider}. h2 Number of screenshots you uploaded p = current_user.screenshots.count h2 Your permissions ul - if can? :approve, Screenshot.new li => fa_icon 'thumbs-up' 'approve uploaded screenshots - if can? :destroy, Screenshot.new li => fa_icon 'trash' 'delete screenshots - if can? :hide, Screenshot.new li => fa_icon 'eye-slash' 'hide screenshots from the public - if can? :unhide, Screenshot.new li => fa_icon 'eye' 'restore (unhide) screenshots for the public - if can? :view, Log li => fa_icon 'book' 'view logs