From dbdec551f234c6dfdb992184b715e9af8462433c Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Tue, 3 Jun 2014 11:28:12 +0800 Subject: Show latest import notice at index page. * added 'page.views.IndexView' for 'django_skaschool.urls * updated 'index.html' to display notice at bottom * added '.smallcaps' in 'index.css' for English title --- templates/index.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 661dbae..16244d4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,10 +11,12 @@ {% endblock %} {% block content %} + + {# title and main info #}

第二届 中国SKA暑期学校

暨 中国-新西兰联合SKA暑期学校

-

China-New Zealand Joint SKA Summer School

+

China-New Zealand Joint SKA Summer School


@@ -33,7 +35,20 @@ {% endblock %} {# content #} {% block footer %} + {# display latest important notice #} + {% if important_notice %} +

+
+ + [通知] + {# notice contents #} + {{ important_notice.contents }} +
+
+ {% endif %} +