Remove test URL (#6740)

This commit is contained in:
Beto Dealmeida 2019-01-22 14:27:51 -08:00 committed by GitHub
parent cf1a35b94b
commit bbd781b66e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -559,6 +559,9 @@ WEBDRIVER_CONFIGURATION = {}
# The base URL to query for accessing the user interface
WEBDRIVER_BASEURL = 'http://0.0.0.0:8080/'
# Send user to a link where they can report bugs
BUG_REPORT_URL = None
try:
if CONFIG_PATH_ENV_VAR in os.environ:

View File

@ -17,6 +17,7 @@
under the License.
#}
{% set bug_report_url = appbuilder.app.config.get('BUG_REPORT_URL') %}
{% set locale = session['locale'] %}
{% if not locale %}
{% set locale = 'en' %}
@ -34,6 +35,17 @@
</ul>
</li>
{% endif %}
{% if bug_report_url %}
<li>
<a
tabindex="-1"
href="{{ bug_report_url }}"
title="Report a bug"
>
<i class="fa fa-bug"></i>&nbsp;
</a>
</li>
{% endif %}
{% if languages.keys()|length > 1 %}
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">