Make empty repo table a bit nicer
This commit is contained in:
parent
679044574a
commit
2704441eed
2 changed files with 52 additions and 47 deletions
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
<div ng-if="!starred && repositoriesResource.value.length == 0">
|
||||
<div class="empty-primary-msg">This namespace doesn't have any viewable repositories.</div>
|
||||
<div class="empty-secondary-msg">Either no repositories exist yet or you may not have permission to view any. If you have permission, try <a href="/new">creating a new repository</a>.</div>
|
||||
<div class="empty-secondary-msg">Either no repositories exist yet or you may not have permission to view any. If you have permission, try <a href="/new?namespace={{ namespace.name }}">creating a new repository</a>.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<div class="repo-list-table-element">
|
||||
<table class="co-table">
|
||||
<div ng-if="orderedRepositories.length== 0">
|
||||
<div class="empty-primary-msg">You do not have any viewable repositories.</div>
|
||||
<div class="empty-secondary-msg">Either no repositories exist yet or you may not have permission to view any. If you have permission, try <a href="/new">creating a new repository</a>.</div>
|
||||
</div>
|
||||
|
||||
<table class="co-table" ng-if="orderedRepositories.length">
|
||||
<thead>
|
||||
<td class="hidden-xs"
|
||||
ng-class="tablePredicateClass('full_name', options.predicate, options.reverse)">
|
||||
|
|
Reference in a new issue