show repos without access rights and improvised styles

This commit is contained in:
Lisa Passing 2015-03-25 14:50:33 +01:00
parent e82abcc1d7
commit d32a121ba2

View File

@ -67,23 +67,19 @@
{{else}}
<li>
{{#if hooksWithoutAdmin.length}}
Sorry, but we can't find any repositories you have admin access to.
<p>Sorry, but we can't find any repositories you have admin access to.</p>
{{else}}
Sorry, it seems like we couldn't find any repositories you have access to on GitHub.
<p>Sorry, it seems like we couldn't find any repositories you have access to on GitHub.</p>
{{/if}}
</li>
{{/each}}
</ul>
</div>
{{!-- {{#if hooksWithoutAdmin.length}}
{{#if hooksWithoutAdmin.length}}
<div id="unadministerable-hooks">
<p>Repositories without admin access</p>
<p class="tip">
You only have pull or push access to the repositories below.
</p>
<ul class="profile-hooklist">
{{#each hook in hooksWithoutAdmin}}
<li {{bind-attr class="hook.active:active :row"}}>
@ -95,7 +91,7 @@
{{/each}}
</ul>
</div>
{{/if}} --}}
{{/if}}
{{/if}}
{{else}}
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>