Browse Source

Show problem ID in problem page

master
Menci 8 years ago
parent
commit
0251699397
  1. 2
      views/problem.ejs

2
views/problem.ejs

@ -24,7 +24,7 @@ if (contest) {
<% if (contest) { %> <% if (contest) { %>
<%= syzoj.utils.removeTitleTag(problem.title) %> <%= syzoj.utils.removeTitleTag(problem.title) %>
<% } else { %> <% } else { %>
<%= problem.title %><% if (problem.allowedEdit && !problem.is_public) { %><span class="ui tiny red label">未公开</span><% } %> #<%= problem.id %>. <%= problem.title %><% if (problem.allowedEdit && !problem.is_public) { %><span class="ui tiny red label">未公开</span><% } %>
<% } %> <% } %>
</h1> </h1>
</div> </div>

Loading…
Cancel
Save