add notice if you're not member of any org and check for githubOrgsSettingsUrl

This commit is contained in:
Lisa Passing 2015-04-08 16:21:34 +02:00
parent e421ccf389
commit 95cb234afa
2 changed files with 10 additions and 5 deletions

View File

@ -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

View File

@ -27,10 +27,14 @@
</div>
</div>
{{/link-to}}
{{else}}
<p class="profile-text">You are not currently a member of <br> any organization.</p>
{{/collection}}
</section>
{{#if config.githubOrgsSettingsUrl}}
<section class="profile-additional">
<p>Is an organization missing?<br>
<a {{bind-attr href="config.githubOrgsSettingsUrl"}} title="Organization settings on GitHub">Review and add</a> your authorized Orgs.</p>
</section>
{{/if}}
</aside>