From b88f3d9d9f35a1f7568ee9973779a36b6457d255 Mon Sep 17 00:00:00 2001 From: Menci Date: Wed, 21 Jun 2017 23:21:00 +0800 Subject: [PATCH] Auto hide empty contest infomation --- views/contest.ejs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/contest.ejs b/views/contest.ejs index 303acdd..ea21a3d 100644 --- a/views/contest.ejs +++ b/views/contest.ejs @@ -35,6 +35,7 @@ <% } %> + <% if (contest.information) { %>

信息与公告

@@ -43,6 +44,7 @@
+ <% } %> <% if (unveiled) { %>