Browse Source

Fix can't dispublic problem

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

2
views/problem.ejs

@ -29,7 +29,7 @@
<% } %>
<% if (user && user.is_admin) { %>
<% if (problem.is_public) { %>
<button class="small ui button" id="un_public">取消公开</button>
<button class="small ui button" id="dis_public">取消公开</button>
<% } else { %>
<button class="small ui button" id="public">公开</button>
<% } %>

Loading…
Cancel
Save