From dab415da0e4353223540af22f0d2f1f5ed6a4673 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Wed, 19 Apr 2017 13:07:19 +0200 Subject: [PATCH] Improved page that appears after a successful login --- app/views/my/welcome.slim | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/app/views/my/welcome.slim b/app/views/my/welcome.slim index 42b0848..512541e 100644 --- a/app/views/my/welcome.slim +++ b/app/views/my/welcome.slim @@ -1,14 +1,20 @@ .row + .small-8.columns.small-centered - h1 Welcome + h1 Welcome - 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. - - 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. + ' If you want to help then check out the + a href="/packages?show=without" packages that have no screenshots + ' yet.