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}} {{else}}
<li> <li>
{{#if hooksWithoutAdmin.length}} {{#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}} {{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}} {{/if}}
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</div> </div>
{{!-- {{#if hooksWithoutAdmin.length}} {{#if hooksWithoutAdmin.length}}
<div id="unadministerable-hooks"> <div id="unadministerable-hooks">
<p>Repositories without admin access</p> <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"> <ul class="profile-hooklist">
{{#each hook in hooksWithoutAdmin}} {{#each hook in hooksWithoutAdmin}}
<li {{bind-attr class="hook.active:active :row"}}> <li {{bind-attr class="hook.active:active :row"}}>
@ -95,7 +91,7 @@
{{/each}} {{/each}}
</ul> </ul>
</div> </div>
{{/if}} --}} {{/if}}
{{/if}} {{/if}}
{{else}} {{else}}
<span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span> <span class="sync-spinner sync-spinner--grey"><i></i><i></i><i></i></span>