Browse Source

Fix typo.

pull/6/head
t123yh 7 years ago
parent
commit
aa8fbe93da
  1. 4
      views/contest.ejs

4
views/contest.ejs

@ -11,8 +11,8 @@
<h1><%= contest.title %></h1> <h1><%= contest.title %></h1>
<div style="margin-bottom: 30px;"><%- contest.subtitle %></div> <div style="margin-bottom: 30px;"><%- contest.subtitle %></div>
<% let unveiled = (isSupervisior || syzoj.utils.getCurrentDate() >= contest.start_time); %> <% let unveiled = (isSupervisior || syzoj.utils.getCurrentDate() >= contest.start_time); %>
<% const seeResult = (isSupervisior || contest.ended) %> <% const seeResult = (isSupervisior || contest.ended); %>
<% const seeRanklist = seeResult || (contest.allowedSeeingResult() && contest.allowedSeeingOthers() %> <% const seeRanklist = seeResult || (contest.allowedSeeingResult() && contest.allowedSeeingOthers()); %>
<% let start = syzoj.utils.formatDate(contest.start_time), end = syzoj.utils.formatDate(contest.end_time); %> <% let start = syzoj.utils.formatDate(contest.start_time), end = syzoj.utils.formatDate(contest.end_time); %>
<% if (contest.running && start.split(' ')[0] === end.split(' ')[0]) { <% if (contest.running && start.split(' ')[0] === end.split(' ')[0]) {
start = start.split(' ')[1]; end = end.split(' ')[1]; start = start.split(' ')[1]; end = end.split(' ')[1];

Loading…
Cancel
Save