From 95cb234afa63f51ec0ee6a8998beb442c524dffb Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Wed, 8 Apr 2015 16:21:34 +0200 Subject: [PATCH] add notice if you're not member of any org and check for githubOrgsSettingsUrl --- app/styles/app/layouts/profile.sass | 11 ++++++----- app/templates/profile/accounts.hbs | 4 ++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/styles/app/layouts/profile.sass b/app/styles/app/layouts/profile.sass index 5c48c6ff..b34f80f2 100644 --- a/app/styles/app/layouts/profile.sass +++ b/app/styles/app/layouts/profile.sass @@ -188,9 +188,10 @@ p.profile-user-last .profile-additional border-top: solid 2px #f3f2f2 - p +.profile-text, +.profile-additional p + color: #adaaab + line-height: $line-height-m + a color: #adaaab - line-height: $line-height-m - a - color: #adaaab - text-decoration: underline + text-decoration: underline \ No newline at end of file diff --git a/app/templates/profile/accounts.hbs b/app/templates/profile/accounts.hbs index 367ba957..19315d56 100644 --- a/app/templates/profile/accounts.hbs +++ b/app/templates/profile/accounts.hbs @@ -27,10 +27,14 @@ {{/link-to}} + {{else}} +

You are not currently a member of
any organization.

{{/collection}} +{{#if config.githubOrgsSettingsUrl}}

Is an organization missing?
Review and add your authorized Orgs.

+{{/if}}