Commit d9f2eed3 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Adds site name and template tags

parent b94287d6
Pipeline #8703766 passed with stage
in 2 minutes and 22 seconds
......@@ -32,7 +32,7 @@ EMAIL_HOST = os.environ.get('EMAIL_HOST', '')
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER', '')
EMAIL_HOST_PASSWORD = get_secret('EMAIL_HOST_PASSWORD')
EMAIL_PORT = 587
EMAIL_SUBJECT_PREFIX = '[CLMSVault] '
EMAIL_SUBJECT_PREFIX = os.environ.get('SITE_NAME', '[CLMSVault] ')
# Hosts/domain names that are valid for this site; required if DEBUG is False
......
{% load admin_static %}{% load firstof from future %}{% load i18n grp_tags %}
{% load mytemplatetags %}
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
......@@ -93,14 +95,14 @@
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//thip87-iric.iric.ca:9001/";
var u="https://thip87-iric.iric.ca:9001/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//thip87-iric.iric.ca:9001/piwik.php?idsite=2" style="border:0;" alt="" /></p></noscript>
<noscript><p><img src="https://thip87-iric.iric.ca:9001/piwik.php?idsite=2" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment