From 3945c52682702a9b4b62a46e667f2c3307f06907 Mon Sep 17 00:00:00 2001 From: Thayer Williams Date: Tue, 16 Mar 2010 11:25:02 -0700 Subject: Redesigned News Pages Signed-off-by: Dan McGee --- templates/news/list.html | 69 +++++++++++++++++++++++++++++++----------------- 1 file changed, 45 insertions(+), 24 deletions(-) (limited to 'templates/news/list.html') diff --git a/templates/news/list.html b/templates/news/list.html index a35c41e..cadc24a 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -1,28 +1,49 @@ {% extends "base.html" %} {% block title %}Arch Linux - News{% endblock %} + {% block content %} -
- {% if perms.main.add_news %} -
- Add News Item -
- {% endif %} -

News Updates

- - {% for item in news_list %} - - - - - - {% endfor %} -
{{ item.postdate }}{{ item.title }} - {% if perms.main.change_news %} - edit - {% endif %} - {% if perms.main.delete_news %} - delete - {% endif %} -
-
+
+ +

News Archives

+ + {% if perms.main.add_news %} + + {% endif %} + + + + + + + + {% if perms.main.change_news %} + + {% endif %} + + + + {% for item in news_list %} + + + + + {% if perms.main.change_news %} + + {% endif %} + + {% endfor %} + +
PublishedTitleAuthor
{{ item.postdate }}{{ item.title }}{{ item.author.get_full_name }} + Edit + {% endif %} + {% if perms.main.delete_news %} +   Delete +
+ +
{% endblock %} -- cgit v1.2.3-24-g4f1b