Added welcome and profile actions to the my controller
This commit is contained in:
parent
8e4dd058b6
commit
020a864736
12 changed files with 125 additions and 19 deletions
|
|
@ -1,20 +1,24 @@
|
|||
.row
|
||||
|
||||
= render partial: 'menu'
|
||||
|
||||
.small-8.columns.small-centered
|
||||
|
||||
h1 Welcome
|
||||
.callout.success
|
||||
h1 Welcome
|
||||
|
||||
- if current_user.provider == 'debian-sso'
|
||||
p
|
||||
'You have just logged in using your Debian SSO certificate which proves that
|
||||
'you are associated to the Debian project. So you are invited to upload any
|
||||
'screenshots. Your uploads will instantly be published and visible in applications
|
||||
'and web sites that use this service.
|
||||
- else
|
||||
p
|
||||
'You are now logged in. We will associate all your future uploads of screenshots
|
||||
'with your account. So others can see what you contributed to this site.
|
||||
- if current_user.provider == 'debian-sso'
|
||||
p
|
||||
'You have just logged in using your Debian SSO certificate which proves that
|
||||
'you are associated to the Debian project. So you are invited to upload any
|
||||
'screenshots. Your uploads will instantly be published and visible in applications
|
||||
'and web sites that use this service.
|
||||
- else
|
||||
p
|
||||
'You are now logged in. We will associate all your future uploads of screenshots
|
||||
'with your account. So others can see what you contributed to this site.
|
||||
|
||||
p
|
||||
' If you want to help then check out the
|
||||
a href="/packages?show=without" packages that have no screenshots
|
||||
' yet.
|
||||
p
|
||||
' If you want to help then check out the
|
||||
a href="/packages?show=without" packages that have no screenshots
|
||||
' yet.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue