34 lines
No EOL
876 B
Text
34 lines
No EOL
876 B
Text
.grid-container
|
|
|
|
= render partial: 'menu'
|
|
|
|
h1 As far as we know…
|
|
|
|
h2 Your name
|
|
|
|
= text_field_tag 'name', current_user.name
|
|
p.help-text
|
|
' Your name will be shown to others along with the images you upload.
|
|
' Feel free to change it.
|
|
|
|
/ TODO: submit - save
|
|
|
|
- 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 Single-sign-on provider
|
|
p You logged in using #{current_user.pretty_provider}.
|
|
|
|
h2 Number of screenshots you uploaded
|
|
p = current_user.screenshots.count
|
|
|
|
/ - if current_user.is_admin?
|
|
/ h2 Admin
|
|
/ p Apparently you are an administrator. Be careful with that thing!
|
|
/ - you can moderate
|
|
/ - you can … |