Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix missing spaces between sentences in task_submissions.html #1250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
12 changes: 6 additions & 6 deletions cms/server/contest/templates/task_submissions.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,30 +315,30 @@ <h2 style="margin: 40px 0 10px">{% trans %}Previous submissions{% endtrans %}</h
{% trans tokens=tokens_info[0] %}Right now, you have {{ tokens }} tokens available on this task.{% endtrans %}
{% endif %}
{% if not can_play_token_now %}
{% trans expiration_time=tokens_info[2]|format_datetime_smart %}
{%+ trans expiration_time=tokens_info[2]|format_datetime_smart %}
But you have to wait until {{ expiration_time }} to use them.
{% endtrans %}
{% endif %}
{% if tokens_info[1] is not none %}
{% trans gen_time=tokens_info[1]|format_datetime_smart %}
{%+ trans gen_time=tokens_info[1]|format_datetime_smart %}
You will receive a new token at {{ gen_time }}.
{% endtrans %}
{% else %}
{% trans %}In the current situation, no more tokens will be generated.{% endtrans %}
{%+ trans %}In the current situation, no more tokens will be generated.{% endtrans %}
{% endif %}
{% else %}
{% trans %}Right now, you do not have tokens available for this task.{% endtrans %}
{% if actual_phase == 0 and tokens_info[1] is not none %}
{% trans gen_time=tokens_info[1]|format_datetime_smart %}
{%+ trans gen_time=tokens_info[1]|format_datetime_smart %}
You will receive a new token at {{ gen_time }}.
{% endtrans %}
{% if tokens_info[2] is not none and tokens_info[2] > tokens_info[1] %}
{% trans expiration_time=tokens_info[2]|format_datetime_smart %}
{%+ trans expiration_time=tokens_info[2]|format_datetime_smart %}
But you will have to wait until {{ expiration_time }} to use it.
{% endtrans %}
{% endif %}
{% else %}
{% trans %}In the current situation, no more tokens will be generated.{% endtrans %}
{%+ trans %}In the current situation, no more tokens will be generated.{% endtrans %}
{% endif %}
{% endif %}
</div>
Expand Down