You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2014/07/21 15:25:07 UTC
[31/50] git commit: 'Evaluate' link now directs to the proper state
'Evaluate' link now directs to the proper state
Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/49e64a3b
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/49e64a3b
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/49e64a3b
Branch: refs/heads/master
Commit: 49e64a3be674082ab7fd4bcac370c4eefa71a463
Parents: ba1cf97
Author: Michael Joyce <jo...@apache.org>
Authored: Fri Jul 18 09:41:37 2014 -0700
Committer: Michael Joyce <jo...@apache.org>
Committed: Fri Jul 18 09:41:37 2014 -0700
----------------------------------------------------------------------
ocw-ui/frontend-new/app/index.html | 2 +-
ocw-ui/frontend-new/app/scripts/app.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/climate/blob/49e64a3b/ocw-ui/frontend-new/app/index.html
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/app/index.html b/ocw-ui/frontend-new/app/index.html
index e366113..b9fc6f8 100644
--- a/ocw-ui/frontend-new/app/index.html
+++ b/ocw-ui/frontend-new/app/index.html
@@ -32,7 +32,7 @@
</div>
<div class="navbar-collapse">
<ul class="nav navbar-nav">
- <li ng-class="{ active: $state.includes('main') }"><a href="#">Evaluate</a></li>
+ <li ng-class="{ active: $state.includes('main') }"><a href="#/evalute">Evaluate</a></li>
<li ng-class="{ active: $state.includes('results') }"><a href="#/results">Results</a></li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/climate/blob/49e64a3b/ocw-ui/frontend-new/app/scripts/app.js
----------------------------------------------------------------------
diff --git a/ocw-ui/frontend-new/app/scripts/app.js b/ocw-ui/frontend-new/app/scripts/app.js
index 23e5a19..72eb3a9 100644
--- a/ocw-ui/frontend-new/app/scripts/app.js
+++ b/ocw-ui/frontend-new/app/scripts/app.js
@@ -21,7 +21,7 @@ angular
function ($stateProvider, $routeProvider, $urlRouterProvider) {
$urlRouterProvider
.when('/r?id', '/results/:id')
- .otherwise('/');
+ .otherwise('/evaluate');
$routeProvider
.when('/evaluation/:id', {