Skip to content
Snippets Groups Projects
Commit fb9474ab authored by Dick Visser's avatar Dick Visser
Browse files

Add preproduction banner to legacy header template.

This uses the translations from the preprodwarning module,
and can be removed in 2.0 (together with legacy templates).
parent 47fe74b7
No related branches found
No related tags found
No related merge requests found
......@@ -206,3 +206,7 @@ if (!empty($this->data['htmlinject']['htmlContentPre'])) {
echo $c;
}
}
$config = \SimpleSAML\Configuration::getInstance();
if(! $config->getBoolean('production', true)) {
echo '<div class="caution">' . $this->t('{preprodwarning:warning:warning}'). '</div>';
}
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