From commits-return-2526-archive-asf-public=cust-asf.ponee.io@superset.incubator.apache.org Tue Apr 9 16:40:34 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 52C4C180629 for ; Tue, 9 Apr 2019 18:40:34 +0200 (CEST) Received: (qmail 85693 invoked by uid 500); 9 Apr 2019 16:20:56 -0000 Mailing-List: contact commits-help@superset.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.incubator.apache.org Delivered-To: mailing list commits@superset.incubator.apache.org Received: (qmail 85684 invoked by uid 99); 9 Apr 2019 16:20:56 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2019 16:20:56 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 98BD680B27; Tue, 9 Apr 2019 16:40:33 +0000 (UTC) Date: Tue, 09 Apr 2019 16:40:33 +0000 To: "commits@superset.apache.org" Subject: [incubator-superset] branch lyftga updated: Add link to documentation (#7251) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155482803290.4165.13989098907262541756@gitbox.apache.org> From: beto@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-superset X-Git-Refname: refs/heads/lyftga X-Git-Reftype: branch X-Git-Oldrev: 821860ea7db5125cb267948d1991969399bc1de0 X-Git-Newrev: 51544212b654181a7fc968a6cda4f52670f7a48e X-Git-Rev: 51544212b654181a7fc968a6cda4f52670f7a48e X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. beto pushed a commit to branch lyftga in repository https://gitbox.apache.org/repos/asf/incubator-superset.git The following commit(s) were added to refs/heads/lyftga by this push: new 5154421 Add link to documentation (#7251) 5154421 is described below commit 51544212b654181a7fc968a6cda4f52670f7a48e Author: Beto Dealmeida AuthorDate: Tue Apr 9 09:40:19 2019 -0700 Add link to documentation (#7251) --- superset/config.py | 2 ++ superset/templates/appbuilder/navbar_right.html | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/superset/config.py b/superset/config.py index 96ccb09..b402fec 100644 --- a/superset/config.py +++ b/superset/config.py @@ -592,6 +592,8 @@ WEBDRIVER_BASEURL = 'http://0.0.0.0:8080/' # Send user to a link where they can report bugs BUG_REPORT_URL = None +# Send user to a link where they can read more about Superset +DOCUMENTATION_URL = None # What is the Last N days relative in the time selector to: # 'today' means it is midnight (00:00:00) of today in the local timezone diff --git a/superset/templates/appbuilder/navbar_right.html b/superset/templates/appbuilder/navbar_right.html index 878e937..73c545e 100644 --- a/superset/templates/appbuilder/navbar_right.html +++ b/superset/templates/appbuilder/navbar_right.html @@ -18,6 +18,7 @@ #} {% set bug_report_url = appbuilder.app.config.get('BUG_REPORT_URL') %} +{% set documentation_url = appbuilder.app.config.get('DOCUMENTATION_URL') %} {% set locale = session['locale'] %} {% if not locale %} {% set locale = 'en' %} @@ -35,6 +36,17 @@ {% endif %} +{% if documentation_url %} +
  • + +   + +
  • +{% endif %} {% if bug_report_url %}