Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions templates/about2expire.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

{% if daysleft == 0 %}
{% set header = 'Warning, your account %NETID% will expire today!'|trans({'%NETID%': netId}) %}
<h3>{{ 'Warning, your account %NETID% will expire today!'|trans({'%NETID': netId}) }}</h3>
<h3>{{ 'Warning, your account %NETID% will expire today!'|trans({'%NETID%': netId}) }}</h3>
{% elseif daysleft == 1 %}
{% set header = 'Warning, your account %NETID% will expire in %DAYSLEFT% %DAYS%!'|trans({'%NETID%': netId, '%DAYS%': 'day'|trans(), '%DAYSLEFT%': daysleft|escape}) %}
<h3>{{ '{expirycheck:expwarning:warning}'|trans({'%NETID': netId, '%DAYS%': 'day'|trans(), '%DAYSLEFT%': daysleft|escape}) }}</h3>
<h3>{{ 'Warning, your account %NETID% will expire in %DAYSLEFT% %DAYS%!'|trans({'%NETID%': netId, '%DAYS%': 'day'|trans(), '%DAYSLEFT%': daysleft|escape}) }}</h3>
{% else %}
{% set header = 'Warning, your account %NETID% will expire in %DAYSLEFT% %DAYS%!'|trans({'%NETID%': netId, '%DAYS%': 'days'|trans(), '%DAYSLEFT%': daysleft|escape}) %}
<h3>{{ 'Warning, your account %NETID% will expire in %DAYSLEFT% %DAYS%!'|trans({'%NETID%': netId, '%DAYS%': 'days'|trans(), '%DAYSLEFT%': daysleft|escape}) }}</h3>
{% endif %}

<p>{{ 'Expiration date:'|trans }} {{ expireOnDate }}</p>
<p>{{ 'Expiration date:'|trans }} <b>{{ expireOnDate }}</b></p>
<input type="submit" name="yes" id="yesbutton" value="{{ 'I am aware of this, continue...'|trans }}" autofocus>
</form>
{% endblock %}
2 changes: 1 addition & 1 deletion templates/expired.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% extends "base.twig" %}

{% block content %}
<h2>{{ 'You do not have access to this service'|trans }})</h2>
<h2>{{ 'You do not have access to this service'|trans }}</h2>
<p>{{ 'Your account %NETID% has expired, access denied!'|trans({'%NETID%': netId}, "app") }}</p>
<p>{{ 'Expiration date:'|trans }} <b>{{ expireOnDate }}</b></p>
<p>{{ 'Access to services is controlled by your home organization. Please contact your local IT support for questions.'|trans }}</p>
Expand Down
Loading