Repository: spark
Updated Branches:
  refs/heads/branch-1.0 3f8450ec6 -> 502a8f795


[SPARK-2067] use relative path for Spark logo in UI

Author: Neville Li <nevi...@spotify.com>

Closes #1006 from nevillelyh/gh/SPARK-2067 and squashes the following commits:

9ee64cf [Neville Li] [SPARK-2067] use relative path for Spark logo in UI
(cherry picked from commit 15ddbef414d5fd6d4672936ba3c747b5fb7ab52b)

Signed-off-by: Patrick Wendell <pwend...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/502a8f79
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/502a8f79
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/502a8f79

Branch: refs/heads/branch-1.0
Commit: 502a8f795551007db8a390c4eb7cfde7ca7742fb
Parents: 3f8450e
Author: Neville Li <nevi...@spotify.com>
Authored: Sun Jun 8 23:18:27 2014 -0700
Committer: Patrick Wendell <pwend...@gmail.com>
Committed: Sun Jun 8 23:18:38 2014 -0700

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/ui/UIUtils.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/502a8f79/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala 
b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
index a43314f..1b10425 100644
--- a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
+++ b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
@@ -168,7 +168,7 @@ private[spark] object UIUtils extends Logging {
       <body>
         <div class="navbar navbar-static-top">
           <div class="navbar-inner">
-            <a href="/" class="brand">
+            <a href={prependBaseUri("/")} class="brand">
               <img src={prependBaseUri("/static/spark-logo-77x50px-hd.png")} />
             </a>
             <ul class="nav">{header}</ul>

Reply via email to