Create a common repo-list-view control and use it everywhere
This allows users to choose grid view or table view in all repo lists Fixes #732
This commit is contained in:
parent
16f16e8a15
commit
3da8814787
13 changed files with 115 additions and 77 deletions
|
@ -1,7 +1,8 @@
|
|||
<div class="repo-list-table-element">
|
||||
<div class="cor-loader" ng-if="isLoading"></div>
|
||||
<div ng-if="orderedRepositories.length == 0 && !isLoading">
|
||||
<div class="empty-primary-msg">You do not have any viewable repositories.</div>
|
||||
<div class="empty-primary-msg" ng-if="namespaces.length != 1">You do not have any viewable repositories.</div>
|
||||
<div class="empty-primary-msg" ng-if="namespaces.length == 1">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>
|
||||
|
||||
|
|
Reference in a new issue