Browse Source

Show problem id in contest problem page

pull/6/head
Menci 8 years ago
parent
commit
6e6eadc000
  1. 2
      views/problem.ejs

2
views/problem.ejs

@ -22,7 +22,7 @@ if (contest) {
<div class="row"> <div class="row">
<h1 class="ui header"> <h1 class="ui header">
<% if (contest) { %> <% if (contest) { %>
<%= syzoj.utils.removeTitleTag(problem.title) %> #<%= pid %>. <%= syzoj.utils.removeTitleTag(problem.title) %>
<% } else { %> <% } else { %>
#<%= problem.id %>. <%= 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><% } %>
<% } %> <% } %>

Loading…
Cancel
Save