Skip to content

Commit

Permalink
feature: make the hint in case detail appear in most case
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-imba committed Oct 25, 2019
1 parent a1988ab commit 73d42a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vj4/ui/templates/record_detail_case.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1 class="section__title">
</div>
</div>
</div>
{% if rcdoc['stdout'] == rcdoc['answer'] and rcdoc['status'] != vj4.constant.record.STATUS_ACCEPTED %}
{% if rcdoc['status'] != vj4.constant.record.STATUS_ACCEPTED %}
<div class="medium-12 columns">
<div class="section visible" id="hints">
<div class="section__header">
Expand All @@ -45,14 +45,14 @@ <h1 class="section__title">
</h1>
</div>
<div class="section__body typo">
<p>Your answer is identical to the JOJ answer in the first several lines.</p>
<p>Your answer may be identical to the JOJ answer in the first several lines.</p>
{% if rcdoc['status'] == vj4.constant.record.STATUS_WRONG_ANSWER %}
<p>However, you still get <span
<p>However, you will still get <span
class="record-status--text {{ vj4.constant.record.STATUS_CODES[rcdoc['status']] }}">
{{ vj4.constant.record.STATUS_TEXTS[rcdoc['status']] }}</span>
because the complete output may be longer and there might be errors in the future lines.</p>
{% else %}
<p>However, the problem is
<p>However, the main problem you meet now is
<span class="record-status--text {{ vj4.constant.record.STATUS_CODES[rcdoc['status']] }}">
{{ vj4.constant.record.STATUS_TEXTS[rcdoc['status']] }}</span>.
{% if rcdoc['execute_status'] != 0 %}
Expand Down

0 comments on commit 73d42a2

Please sign in to comment.