diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-15 12:25:00 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-15 15:19:23 +0100 |
commit | 36deff73c55b2c69e7313f152d4894b0f8650c84 (patch) | |
tree | b93b94e8c899155860b23437c35f597f4a9789af | |
parent | 6c5ad8168b0d42f51caba7a8e999e448b750ed41 (diff) |
Include MapIt API key in admin config if present.
Fixes #1778.
-rw-r--r-- | templates/web/base/admin/config_page.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/base/admin/config_page.html b/templates/web/base/admin/config_page.html index f35cd6adb..87032b0b6 100644 --- a/templates/web/base/admin/config_page.html +++ b/templates/web/base/admin/config_page.html @@ -88,6 +88,9 @@ running version <strong>[% git_version || 'unknown' %]</strong>. [% INCLUDE subsection heading="MapIt" %] [% INCLUDE just_value value="MAPIT_URL" conf = "<a href='" _ c.config.MAPIT_URL _ "'>" _ c.config.MAPIT_URL _ "</a>" %] +[% IF c.config.MAPIT_API_KEY %] + [% INCLUDE just_value value="MAPIT_API_KEY" %] +[% END %] [% INCLUDE with_cobrand value="MAPIT_TYPES" cob = c.cobrand.area_types %] <tr> |