Skip to content
Snippets Groups Projects
Commit c3406465 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

create an `admin-email` setting and make it available on our General settings section.

parent 0adc6fad
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,9 @@ var TIMEZONES = [
var EXTRA_SETTINGS_METADATA = {
"site-name": { display_name: "Site Name", section: "General", index: 0, type: "string" },
"-site-url": { display_name: "Site URL", section: "General", index: 1, type: "string" },
"report-timezone": { display_name: "Report Timezone", section: "General", index: 2, type: "select", options: TIMEZONES, placeholder: "Select a timezone" },
"anon-tracking-enabled":{ display_name: "Anonymous Tracking", section: "General", index: 3, type: "boolean" },
"admin-email": { display_name: "Admin Email", section: "General", index: 2, type: "string" },
"report-timezone": { display_name: "Report Timezone", section: "General", index: 3, type: "select", options: TIMEZONES, placeholder: "Select a timezone" },
"anon-tracking-enabled":{ display_name: "Anonymous Tracking", section: "General", index: 4, type: "boolean" },
"email-smtp-host": { display_name: "SMTP Host", section: "Email", index: 0, type: "string" },
"email-smtp-port": { display_name: "SMTP Port", section: "Email", index: 1, type: "string" },
"email-smtp-security": { display_name: "SMTP Security", section: "Email", index: 2, type: "radio", options: { none: "None", tls: "TLS", ssl: "SSL" } },
......
......@@ -32,6 +32,8 @@
(defsetting -site-url "The base URL of this Metabase instance, e.g. \"http://metabase.my-company.com\"")
(defsetting admin-email "The email address of the administrator for this Metabase.")
(defsetting anon-tracking-enabled "Enable the collection of anonymous usage data in order to help Metabase improve." "true")
(defn site-url
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment