From ac5536f3f7d9edaf1bf18d20caca77d5d61d4ee5 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 5 Jul 2019 14:09:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=8D=B3=E5=B0=86=E5=8F=91=E5=B8=83tip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/competitions/index.html.erb | 14 ++++++++++++++ public/stylesheets/educoder/edu-all.css | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/app/views/competitions/index.html.erb b/app/views/competitions/index.html.erb index 19627026..9332dda9 100644 --- a/app/views/competitions/index.html.erb +++ b/app/views/competitions/index.html.erb @@ -83,6 +83,11 @@
+即将发布
敬请期待
+- 开源任务征集 - 2019年7月1日~2019年7月20日 + <%= first_section.try(:name) %> + <%= first_section.start_time.try(:strftime, '%Y年%m月%d日') %> ~ <%= first_section.end_time.try(:strftime, '%Y年%m月%d日') %> - 开源任务发布 - 2019年7月21日 + <%= second_section.try(:name) %> + <%= second_section.try(:start_time).try(:strftime, '%Y年%m月%d日') %> ~ <%= second_section.try(:end_time).try(:strftime, '%Y年%m月%d日') %>