Remove test URL (#6740)
This commit is contained in:
parent
cf1a35b94b
commit
bbd781b66e
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if languages.keys()|length > 1 %}
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)">
|
||||
|
|
|
|||
Loading…
Reference in New Issue