Add dependent packages in about page
Content of bill-of-materials.json is added to about page as a table. Fixes https://jira.coreos.com/browse/QUAY-1170
This commit is contained in:
parent
0666e0bedc
commit
1dcc5d9d64
2 changed files with 47 additions and 5 deletions
|
@ -1,11 +1,17 @@
|
|||
import billOfMaterials from "../../../bill-of-materials.json"
|
||||
|
||||
(function() {
|
||||
/**
|
||||
* About page.
|
||||
*/
|
||||
angular.module('quayPages').config(['pages', function(pages) {
|
||||
pages.create('about', 'about.html', null, {
|
||||
pages.create('about', 'about.html', AboutCtrl, {
|
||||
'title': 'About Us',
|
||||
'description': 'About Us'
|
||||
});
|
||||
}]);
|
||||
|
||||
function AboutCtrl($scope){
|
||||
$scope.billOfMaterials = billOfMaterials
|
||||
}
|
||||
}());
|
Reference in a new issue