File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
docs/site/components/subpage Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
angular
2
2
. module ( 'gcloud.subpage' , [ 'gcloud.header' ] )
3
- . directive ( 'subpage' , function ( $parse , $location ) {
3
+ . directive ( 'subpage' , function ( $location , getLinks ) {
4
4
'use strict' ;
5
5
6
6
return {
7
7
transclude : true ,
8
8
templateUrl : 'site/components/subpage/subpage.html' ,
9
9
link : function ( $scope , elem , attrs ) {
10
10
$scope . title = attrs . title ;
11
- $scope . links = $parse ( attrs . links ) ( ) ;
11
+ $scope . links = getLinks ( 'master' ) ;
12
12
$scope . headerTemplateUrl = attrs . headerTemplateurl ;
13
13
14
14
if ( attrs . isActiveUrl ) {
Original file line number Diff line number Diff line change @@ -51,11 +51,6 @@ <h1 class="logo">
51
51
</ ul >
52
52
53
53
< ul class ="page-sections external-links ">
54
- < li >
55
- < a href ="#/docs " title ="Documentation " ng-if ="!isActiveUrl('/docs') ">
56
- Documentation
57
- </ a >
58
- </ li >
59
54
< li >
60
55
< a href ="#/authorization " ng-class ="{ current: isActiveUrl('/authorization') } " title ="Authorization ">
61
56
Authorization
You can’t perform that action at this time.
0 commit comments