summaryrefslogtreecommitdiffstats
path: root/templates/todolists
AgeCommit message (Collapse)AuthorFilesLines
2011-04-09Ascii-ize the todo list email package listDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-15Use date template filter on datetime field displayDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-08Todo list styling and info cleanupsDan McGee3-7/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-04Send only one email per todolistDan McGee1-9/+4
Customize each email on a per-maintainer basis and list all the relevant packages inside, rather than spamming people. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-03Template fine-grained permissioningDan McGee1-0/+4
Rather than use user.is_authenticated, rely on certain permissions being set for the user. This allows us to open up the developer side and not assume everyone is a package maintainer. Allow all logged-in users to still view todo lists, but don't show the complete/incomplete links (only the text) unless they are allowed to mess with todo lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-15Simplify JS selector for todo list complete linksDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Update public todo list templateDan McGee1-36/+56
Add a TOC as suggested in FS#20720. Fix closing tag span/a mixup that snuck in from the private developer template, and finally use a different div box for each todo list which should make them stand out better. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30Move most inline JS into script fileDan McGee1-23/+2
We're getting to the point where we are starting to have a good chunk of JS scattered about. Centralize a lot of it for maintenance and performance purposes. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-09Improve todo list view pageDan McGee1-3/+10
Add total package count and incomplete package count columns. Also reduce the number of total queries by killing the query per row that was happening before. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-01Make sort work on developer todo list statusDan McGee1-1/+13
Because it was a link, the sort didn't properly sort on the complete/incomplete status when viewing a todo list. Add a custom parser to fix it. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Make public todolist view more usefulDan McGee3-16/+42
Show all the details the developer page does, make the lists always visible, and add JS table sorting to each table on the page. This commit also adds table sorting to the developer list view as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Mark todolist description as being safe to contain HTMLDan McGee5-6/+7
Hopefully we can trust our developers on this one. :) Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Restore odd/even markup after JS sortDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add table sorting to a handful of pagesDan McGee1-2/+8
Anything that it makes sense to add it to gets the treatment here. Anything with pagination can wait as that will be tougher. We also need to deal with odd/even formatting. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add box style to public todo list pageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Hide the details of the todo list until clickingDusty Phillips1-2/+11
Dan: don't load jQuery until late in the page load. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add a basic view for todo listsDusty Phillips1-0/+18
Dan: rename template and view to something a bit more concise. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Remove an extra trailing slash that is causing a broken url on todolists.Dusty Phillips1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Add absolute URL method for todo listsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-21Fix template syntax errorDan McGee1-1/+1
Whoops, forgot the closing tag when I was playing with autoescape. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-17Fix autoescape in plain text emailsDan McGee1-2/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-12Remove action when submitting to same URLDan McGee1-1/+1
It looks like the `action="."` business was screwing up some browsers, notably lynx and links. We don't need it as the default is to submit to the same page anyway, so kill this gunk and see if it fixes a login CSRF issue. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-05Updates for CSRF protection in Django 1.2.XDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-02Rename todolist email templateDan McGee1-0/+0
More in line with our other templates that have .txt extensions. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned todo list pagesThayer Williams4-103/+112
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-04todo: fix maintainer display textDan McGee1-1/+1
We were showing 'orphan' for every package due to our maintainer information moving. This is going to make the page a bit slow again, but we'll try and fix that later using some other tricks if possible. Fixes FS#18920. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-03Merge branch 'master' into cdn-jqueryDan McGee3-1/+4
Conflicts: templates/todolists/view.html
2010-03-02Fix up HTML titles on a lot of pagesDan McGee2-0/+2
We didn't include them on many pages, or the ones we did weren't always useful. Also try to keep the boilerplate to a minimum so you can see the important bits in the title. 'Arch Linux - ' comes first in all titles, and from there it can be filled in with something useful. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-02Unify spelling of 'Todo'Dan McGee1-2/+3
We used 'Todo', 'ToDo', and 'To-do' in different places. Unify them all to the first. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Convert templates to use jquery cdn tagDan McGee1-2/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Implement AJAX flagging for todo itemsEvangelos Foutras1-0/+21
[Some trailing whitespace got killed in the process. :3] Dan: I made a few small changes including moving the jQuery include down above the other script block; since it is not needed right away it can be loaded later in the page. Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-17ToDo: Use pkgr2,pkgr1 classes with the cycle tagEvangelos Foutras1-2/+2
This brings back the alternating colors in the table and makes it much easier to flag the correct package. Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-05-05DOHDusty Phillips1-0/+0
2009-05-05Fix link to packages in todo lists.Dusty Phillips2-1/+1
2008-10-12drop some extra media (may have to restore)Dusty Phillips1-22/+0
2008-10-12drop jquery dependencyDusty Phillips1-9/+0
2008-07-02make the notification e-mail include descriptionDusty Phillips1-1/+1
2008-07-02add reminder e-mails to todo listsDusty Phillips1-0/+16
2008-07-02format descriptionDusty Phillips1-1/+1
2008-06-28use funky model layout for permissionsDusty Phillips2-3/+3
2008-06-28add delete functionality to todo listsDusty Phillips2-3/+30
2008-06-28add list description to the list view pageDusty Phillips1-0/+5
2008-06-28add an 'edit todolist' functionalityDusty Phillips1-0/+5
2008-06-28improve indentationDusty Phillips1-5/+5
2008-06-28refactor todo packages a bitDusty Phillips1-1/+1
2008-06-28improve look of todo listDusty Phillips1-4/+2
2008-06-28use newforms on todo listDusty Phillips1-25/+0
2008-04-10Cleanup from the previous change to the model for Arches and Repos.eliott1-2/+2
2008-04-05small fix to todolistseliott1-5/+5
2008-04-05Implemented todolist javascript sortingeliott2-42/+80