aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jco...@apache.org
Subject aurora git commit: Properly hide the job dashboard link if no dashboard link is configured.
Date Fri, 11 Sep 2015 17:35:27 GMT
Repository: aurora
Updated Branches:
  refs/heads/master 4ad0d36f7 -> 140d74d65


Properly hide the job dashboard link if no dashboard link is configured.

Reviewed at https://reviews.apache.org/r/38309/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/140d74d6
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/140d74d6
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/140d74d6

Branch: refs/heads/master
Commit: 140d74d6520b5d295c397905dbf3a05bffe858d9
Parents: 4ad0d36
Author: Joshua Cohen <jcohen@apache.org>
Authored: Fri Sep 11 12:35:14 2015 -0500
Committer: Joshua Cohen <jcohen@apache.org>
Committed: Fri Sep 11 12:35:14 2015 -0500

----------------------------------------------------------------------
 src/main/resources/scheduler/assets/breadcrumb.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/140d74d6/src/main/resources/scheduler/assets/breadcrumb.html
----------------------------------------------------------------------
diff --git a/src/main/resources/scheduler/assets/breadcrumb.html b/src/main/resources/scheduler/assets/breadcrumb.html
index 6bb3974..133c111 100644
--- a/src/main/resources/scheduler/assets/breadcrumb.html
+++ b/src/main/resources/scheduler/assets/breadcrumb.html
@@ -31,7 +31,7 @@
     <li ng-if='instance >= 0' class='active'>{{instance}}</li>
     <li ng-if='update' class='active'>{{update.update.summary.key.id}}</li>
 
-    <li ng-if='job && (!update && !(instance >= 0))' class='right'>
+    <li ng-if='job && (!update && !(instance >= 0)) && jobDashboardUrl'
class='right'>
       <a ng-href='{{jobDashboardUrl}}' title='External dashboard for this job'>
         <span class='glyphicon glyphicon-stats'></span> Dashboard
       </a>


Mime
View raw message