This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/directives/ui/repo-breadcrumb.js

22 lines
618 B
JavaScript
Raw Normal View History

2019-11-12 16:09:47 +00:00
/**
* An element which shows the breadcrumbs for a repository, including subsections such as an
* an image or a generic subsection.
*/
angular.module('quay').directive('repoBreadcrumb', function () {
var directiveDefinitionObject = {
priority: 0,
templateUrl: '/static/directives/repo-breadcrumb.html',
replace: false,
transclude: false,
restrict: 'C',
scope: {
'repo': '=repo',
'image': '=image',
'subsection': '=subsection',
'subsectionIcon': '=subsectionIcon'
},
controller: function($scope, $element) {
}
};
return directiveDefinitionObject;
});