File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ let g:syntastic_html_tidy_ignore_errors = [
7
7
\ , ' unescaped & which should be written as &'
8
8
\ , ' proprietary attribute "ng-'
9
9
\ , ' proprietary attribute "ui-'
10
+ \ , ' proprietary attribute "tv-'
10
11
\ , ' <table> proprietary attribute "show-filter"'
11
12
\ , ' <td> proprietary attribute "sortable"'
12
13
\ , ' <td> proprietary attribute "filter"'
Original file line number Diff line number Diff line change 32
32
type ="alert.type " close ="closeAlert($index) "
33
33
ng-bind ="alert.message "> </ alert >
34
34
35
- < div id ="main_content " ui-view > </ div >
35
+ < div tv-breadcrumbs ng-if ="!$state.includes('home') "> </ div >
36
+
37
+ < div id ="main_content " ui-view > </ div >
36
38
</ div >
37
39
</ section >
38
40
< div id ="footer_space "> </ div >
56
58
< script src ="bower_components/angular-bootstrap/ui-bootstrap-tpls.js "> </ script >
57
59
< script src ="bower_components/ng-table/ng-table.js "> </ script >
58
60
< script src ="bower_components/angular-ui-router/release/angular-ui-router.js "> </ script >
61
+ < script src ="bower_components/tv-breadcrumbs/dist/tv-breadcrumbs.min.js "> </ script >
59
62
<!-- endbower -->
60
63
<!-- endbuild -->
61
64
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ angular.module('lmisChromeApp', [
7
7
'restangular' ,
8
8
'ui.bootstrap' ,
9
9
'ngTable' ,
10
- 'ui.router'
10
+ 'ui.router' ,
11
+ 'tv.breadcrumbs'
11
12
] )
12
13
. config ( function ( RestangularProvider , $compileProvider ) {
13
14
RestangularProvider . setBaseUrl ( 'http://lmis.ehealth.org.ng/api/v1' ) ;
@@ -51,6 +52,9 @@ angular.module('lmisChromeApp', [
51
52
} ) ;
52
53
} , false ) ;
53
54
55
+ // Convenience property to get the current state
56
+ $rootScope . $state = $state ;
57
+
54
58
// Default state
55
59
$state . go ( 'home.index.controlPanel' ) ;
56
60
} ) ;
Original file line number Diff line number Diff line change 15
15
"ng-table" : " 0.3.1" ,
16
16
"font-awesome" : " https://github.com/FortAwesome/Font-Awesome.git#4.0.4-wip" ,
17
17
"angular-indexedDB" : " https://github.com/webcss/angular-indexedDB.git" ,
18
- "angular-ui-router" : " 0.2.8-bowratic-tedium"
18
+ "angular-ui-router" : " 0.2.8-bowratic-tedium" ,
19
+ "tv-breadcrumbs" : " ~0.1.1"
19
20
},
20
21
"devDependencies" : {
21
22
"angular-mocks" : " 1.2.12" ,
You can’t perform that action at this time.
0 commit comments