From 39a548fd2629f3b6383990264b2e331b3aea99fb Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 3 Nov 2007 03:45:10 -0400 Subject: Initial import for public release... Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd! --- templates/news/list.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 templates/news/list.html (limited to 'templates/news/list.html') diff --git a/templates/news/list.html b/templates/news/list.html new file mode 100644 index 0000000..e188e3c --- /dev/null +++ b/templates/news/list.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} + +{% block content %} +
+ {% if perms.news.add_news %} +
+ Add News Item +
+ {% endif %} +

News Updates

+ + {% for item in news %} + + + + + + {% endfor %} +
{{ item.postdate }}{{ item.title }} + {% comment %}{% if item.author %}{% ifequal user.username item.author.username %}{% endcomment %} + edit + delete + {% comment %}{% endifequal %}{% endif %}{% endcomment %} +
+
+{% endblock %} -- cgit v1.2.3-24-g4f1b