-
Guillaume ROUSSE authoredGuillaume ROUSSE authored
errors.tt2.html 1.40 KiB
[% WRAPPER index.tt2.html %]
<div class="small-12 medium-8 medium-centered columns">
[% FOREACH err IN errors %]
<p class="callout alert-callout-border alert text-center">
<strong>[% lh.maketext("Error:") %]</strong>
[% IF err == 'unknown_action' %]
[% lh.maketext("unknown action") %]
[% ELSIF err == 'internal' %]
[% lh.maketext("internal error") %]
[% ELSIF err == 'mail_notification_failure' %]
[% lh.maketext("mail notification failure") %]
[% ELSIF err == 'accounts_creation_failure' %]
[% lh.maketext("test accounts creation failure") %]
[% ELSIF err == 'wrong_token' %]
[% lh.maketext("the validation token you provided is incorrect or it has already been used") %]
[% ELSIF err == 'wrong_token_for_sp' %]
[% lh.maketext("the validation token you provided cannot be used for this service provider ([_1])", entityid) %]
[% ELSIF err == 'unauthenticated' %]
[% lh.maketext("you need to authenticate to access this page") %]
[% ELSIF (matches = err.match('missing_(\w+)')) %]
[% lh.maketext("missing parameter '[_1]'", matches.0) %]
[% ELSE %]
[% err %]
[% END %]
</p>
[% END %]
[% lh.maketext("You can report the issue to the administrators") %] (<a href="mailto:[% app.support_email %]">[% app.support_email %]</a>).
</div>
[% END %]