initial import for Open Source 🎉
This commit is contained in:
parent
1898c361f3
commit
9c0dd3b722
2048 changed files with 218743 additions and 0 deletions
22
static/js/directives/ui/repo-breadcrumb.js
Normal file
22
static/js/directives/ui/repo-breadcrumb.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* 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;
|
||||
});
|
Reference in a new issue