Repository: incubator-airflow
Updated Branches:
  refs/heads/master f36041477 -> d649cfa86


[AIRFLOW-463] Link Airflow icon to landing page

Dear Airflow Maintainers,

Please accept this PR that addresses the following
issues:
- *https://issues.apache.org/jira/browse/AIRFLOW-4
63*

As of now the Airflow image icon on top left
doesn't leads users to anywhere. It should take
users to initial landing page, which is generally
happened on most of the other sites.

Closes #1764 from msumit/AIRFLOW-463


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/d649cfa8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/d649cfa8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/d649cfa8

Branch: refs/heads/master
Commit: d649cfa86cd47b224b50ca997d3be5cb7d31bd5b
Parents: f360414
Author: Sumit Maheshwari <sum...@qubole.com>
Authored: Sun Aug 28 10:17:12 2016 -0700
Committer: Siddharth Anand <siddharthan...@yahoo.com>
Committed: Sun Aug 28 10:17:27 2016 -0700

----------------------------------------------------------------------
 airflow/www/templates/admin/master.html | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/d649cfa8/airflow/www/templates/admin/master.html
----------------------------------------------------------------------
diff --git a/airflow/www/templates/admin/master.html 
b/airflow/www/templates/admin/master.html
index c4135a9..9c6f61d 100644
--- a/airflow/www/templates/admin/master.html
+++ b/airflow/www/templates/admin/master.html
@@ -54,13 +54,12 @@
           <span class="icon-bar"></span>
           <span class="icon-bar"></span>
         </button>
-        <a class="navbar-brand" rel="home" href="#">
-          <img
-          style="float: left; width:35px; margin-top: -7px;"
-                src="{{ url_for("static", filename="pin_100.png") }}"
-                title="{{ current_user.username }}">
-          <span>Airflow</span>
-        </a>
+          <a class="navbar-brand" rel="home" href="{{ url_for('admin.index') 
}}" style="cursor: pointer;">
+              <img style="float: left; width:35px; margin-top: -7px;"
+                   src="{{ url_for("static", filename="pin_100.png") }}"
+                   title="{{ current_user.username }}">
+              <span>Airflow</span>
+          </a>
       </div>
       <!-- navbar content -->
       <div class="collapse navbar-collapse" id="admin-navbar-collapse">

Reply via email to