Skip to content
Snippets Groups Projects
Commit d2ba28ea authored by Tim van Dijen's avatar Tim van Dijen
Browse files

saml: add Twig templates

parent 9543f2df
No related branches found
No related tags found
No related merge requests found
{% set pagetitle = 'SimpleSAMLphp'|trans %}
{% extends "base.twig" %}
{% block content %}
<h2>{{ '{saml:proxy:invalid_idp}'|trans }}</h2>
<p>{{ '{saml:proxy:invalid_idp_description}'|trans({"%IDP%": idp_name, "%SP%": sp_name}, "app")|raw</p>
<form method="post" action="?">
<input type="hidden" name="AuthState" value="{{ AuthState|escape('html') }}" />
<input type="submit" name="continue" value="{{ '{general:yes_continue}'|trans }}" />
<input type="submit" name="cancel" value="{{ '{general:no_cancel}'|trans }}" />
</form>
{% endblock %}
{% set pagetitle = 'SimpleSAMLphp'|trans %}
{% extends "base.twig" %}
{% block content %}
<h2>{{ '{saml:wrong_authncontextclassref:header}'|trans|escape('html') }}</h2>
<p>{{ '{saml:wrong_authncontextclassref:description}'|trans|escape('html') }}</p>
{% endblock %}
......@@ -35,8 +35,7 @@
<h2>{{'{errors:debuginfo_header}' | trans}}</h2>
<p>{{'{errors:debuginfo_text}' | trans}}</p>
<div class="code-box code-box-content">
<pre>{{ error.exceptionMsg }}<br>
{{ error.exceptionTrace }}
<pre>{{ error.exceptionMsg }}<br />{{ error.exceptionTrace }}
</pre>
</div>
{%- endif %}
......@@ -62,4 +61,4 @@
<h2>{{ '{errors:howto_header}' | trans }}</h2>
<p>{{ '{errors:howto_text}' | trans }}</p>
{% endblock %}
\ No newline at end of file
{% endblock %}
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