Last change
on this file since 17399 was
12563,
checked in by ascheibe, 9 years ago
|
#2394 merged r12428, r12429, r12430, r12435, r12442, r12443, r12445, r12514, r12517, r12519, r12520, r12521, r12523, r12532, r12542, r12546, r12552, r12553, r12556, r12557, r12559, r12561, r12146, r12457 into stable
|
File size:
566 bytes
|
Rev | Line | |
---|
[12546] | 1 | var appAboutPlugin = app.registerPlugin('about');
|
---|
| 2 | (function () {
|
---|
| 3 | var plugin = appAboutPlugin;
|
---|
| 4 | plugin.dependencies = ['ngResource', 'ui.bootstrap'];
|
---|
| 5 | plugin.files = ['aboutCtrl.js'];
|
---|
| 6 | plugin.view = 'about.cshtml';
|
---|
| 7 | plugin.controller = 'app.about.ctrl';
|
---|
| 8 | plugin.routes = [];
|
---|
| 9 |
|
---|
| 10 | var menu = app.getMenu();
|
---|
[12563] | 11 | var section = menu.getSection('Menu', -1);
|
---|
[12546] | 12 | section.addEntry({
|
---|
| 13 | index: 10000,
|
---|
| 14 | name: 'About',
|
---|
| 15 | route: '#/about',
|
---|
| 16 | icon: 'glyphicon glyphicon-info-sign',
|
---|
| 17 | entries: []
|
---|
| 18 | });
|
---|
| 19 | })(); |
---|
Note: See
TracBrowser
for help on using the repository browser.