2015-03-05 21:25:16 +00:00
< div class = "repo-list-grid-element" >
2015-02-24 19:43:04 +00:00
< div class = "new-repo-listing" >
2015-02-23 22:30:43 +00:00
2015-01-12 22:43:36 +00:00
<!-- Titles -->
2015-03-25 19:31:05 +00:00
< div ng-if = "!hideTitle" >
< div ng-if = "starred" class = "repo-list-title" >
< i class = "fa fa-star starred" > < / i >
Starred
< / div >
< div ng-if = "!starred" class = "repo-list-title" >
2015-03-30 21:55:04 +00:00
< span class = "avatar" size = "24" data = "namespace.avatar" > < / span >
2015-04-03 18:58:13 +00:00
< a ng-if = "!isOrganization(namespace.name)"
href="/user/{{ namespace.name }}">{{ namespace.name }}< / a >
2015-03-25 19:31:05 +00:00
< a ng-if = "isOrganization(namespace.name)"
href="/organization/{{ namespace.name }}">{{ namespace.name }}< / a >
< / div >
2015-01-12 22:43:36 +00:00
< / div >
<!-- Repositories -->
2015-03-05 21:25:16 +00:00
< div class = "resource-view" resource = "repositoriesResource" >
< div ng-if = "repositoriesResource.value.length > 0" >
2015-02-23 22:30:43 +00:00
< div class = "row" >
2015-03-05 21:25:16 +00:00
< div class = "col-lg-4 col-md-6 col-sm-6 col-xs-12"
ng-repeat="repository in repositoriesResource.value">
2015-02-23 22:30:43 +00:00
< div class = "panel panel-default" >
< div class = "panel-body" ng-class = "repository.is_starred ? 'starred' : ''" >
< div class = "row" >
< div class = "col-lg-10 col-md-10 col-sm-10 col-xs-10 repo-panel-title-row" >
< span class = "repo-icon repo-circle no-background" repo = "repository" > < / span >
< a ng-href = "/repository/{{repository.namespace}}/{{ repository.name }}" class = "repo-panel-repo-link"
2017-03-23 21:16:19 +00:00
data-repo="{{repository.namespace}}/{{ repository.name }}" ng-if="repoKind != 'application'">
< span ng-show = "!hideNamespaces" > {{ repository.namespace }}/< / span > {{ repository.name }}
< / a >
< a ng-href = "/application/{{repository.namespace}}/{{ repository.name }}" class = "repo-panel-repo-link"
data-repo="{{repository.namespace}}/{{ repository.name }}" ng-if="repoKind == 'application'">
2015-12-28 21:29:17 +00:00
< span ng-show = "!hideNamespaces" > {{ repository.namespace }}/< / span > {{ repository.name }}
2015-02-23 22:30:43 +00:00
< / a >
< / div >
< div class = "col-lg-2 col-md-2 col-sm-2 col-xs-2" >
2015-03-10 05:03:39 +00:00
< span class = "repo-star" repository = "repository"
star-toggled="starToggled({'repository': repository})">< / span >
2015-02-23 22:30:43 +00:00
< / div >
2015-01-12 22:43:36 +00:00
< / div >
2015-02-23 22:30:43 +00:00
< div class = "description markdown-view" content = "repository.description" first-line-only = "true" placeholder-needed = "true" > < / div >
2015-01-12 22:43:36 +00:00
< / div >
2015-02-23 22:30:43 +00:00
< / div >
2015-01-12 22:43:36 +00:00
< / div >
< / div >
< / div >
2015-02-23 22:30:43 +00:00
<!-- Empty Messages -->
2015-03-05 21:25:16 +00:00
< div ng-if = "starred && repositoriesResource.value.length == 0" >
2015-02-23 22:30:43 +00:00
< div class = "empty-primary-msg" > You haven't starred any repositories yet.< / div >
< div class = "empty-secondary-msg" > Stars allow you to easily access your favorite repositories.< / div >
< / div >
2015-03-05 21:25:16 +00:00
< div ng-if = "!starred && repositoriesResource.value.length == 0" >
2015-02-23 22:30:43 +00:00
< div class = "empty-primary-msg" > This namespace doesn't have any viewable repositories.< / div >
2015-07-20 18:43:13 +00:00
< 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 >
2015-02-23 22:30:43 +00:00
< / div >
2015-01-12 22:43:36 +00:00
< / div >
< / div >
< / div >