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