diff --git a/assets/javascripts/discourse/controllers/admin-plugins-explorer.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-explorer.js.es6 index 63878ac..c4cad7e 100644 --- a/assets/javascripts/discourse/controllers/admin-plugins-explorer.js.es6 +++ b/assets/javascripts/discourse/controllers/admin-plugins-explorer.js.es6 @@ -29,14 +29,6 @@ export default Ember.ArrayController.extend({ return item || NoQuery; }.property('selectedQueryId'), - not_https: function() { - return !( - window.location.protocol === "https:" || - window.location.hostname === "localhost" || - window.location.hostname.endsWith(".local") - ); - }.property(), - othersDirty: function() { const selected = this.get('selectedItem'); return !!this.get('content').find(function(q) { diff --git a/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs b/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs index 3bb34e1..fdde47f 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs @@ -1,12 +1,5 @@

Queries

-{{#if not_https}} -
- {{fa-icon "warning"}} - {{i18n "explorer.https_warning"}} -
-{{/if}} -
{{combo-box valueAttribute="id" value=selectedQueryId nameProperty="listName" content=content castInteger="true" nameChanges="true"}} {{d-button action="showCreate" icon="plus" class="no-text"}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 8fed453..393c7c3 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -55,6 +55,5 @@ en: explain_label: "Include query plan?" save_params: "Set Defaults" reset_params: "Reset" - https_warning: "This site is not protected by HTTPS. Please be careful to not retrieve sensitive information over insecure links." no_queries: "There are no queries. Why not " no_queries_hook: "create one?"