summaryrefslogtreecommitdiffstats
path: root/templates/todolists/view.html
AgeCommit message (Collapse)AuthorFilesLines
2013-05-11Add a 'last touched by' column to todolist detail viewDan McGee1-0/+2
This allows you to see very easily who last manipulated a package todolist item in case you have a need to know. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-20Move all script blocks into {% script_block %} sectionDan McGee1-0/+3
I added this a while back, but didn't roll it out to all templates. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-03-12Make todolists fully publicDan McGee1-0/+2
Remove the login_required decorator from the index and detail views to allow everyone to see the same thing. Of course, when I say "same" here, unauthenticated users don't see the same links developers do to mark packages complete and incomplete. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-29Fix missing template variable for removed todolist packagesDan McGee1-1/+3
When there was no longer an attached package, running in template debug mode showed we were trying to dereference a variable that didn't exist. Fix the issue by adding a bit more to the if conditional block. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-27Fix todolist maintainer sortingDan McGee1-2/+2
And also fix up a place where we dereferenced a variable in a template that doesn't exist. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-22Show staging version on todolist view pageDan McGee1-0/+5
If one exists, it is easy enough to show it here so in-progress todolists can easily be cross-checked with the current state of the repository. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-31Fix todolist permission typoDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Add a todolist package details link template tagDan McGee1-2/+2
Given the way we retrieve certain related objects, it makes more sense to use a custom tag here rather than our generic package details link tag. When viewing a large todolist, this saves significantly on the number of queries we need to build the page. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Use todolist slugs for all URLsDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Convert to using new todolist models everywhereDan McGee1-16/+11
This is a rather widespread set of changes converting usage to the new todo list and todo list package model recently introduced. The data migration is not included in this commit. After this commit, the old model should no longer be referenced anywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-11Use multiple separate document.ready() handlersDan McGee1-1/+3
If one of them breaks, we don't want to prevent the rest of the on-load events from firing. This is currently a problem on some browsers with the versions of jQuery and tablesorter we are using. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Make todolist filtering functions more genericDan McGee1-3/+4
This will allow us to use them elsewhere in a future commit. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Standardize spelling of 'todo list'Dan McGee1-3/+3
We use a space everywhere but a few places; fix the exceptions. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-25Add arch and repo filter to todolist packagesDan McGee1-2/+14
This matches what we do on signoffs. Also beef up the styling a bit and add the dynamically updated package count info. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Enable filtering of todolist packagesDan McGee1-2/+20
This matches the filtering options we have on the signoffs and package differences pages. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-09Add a new jquery_tablesorter CDN template tagDan McGee1-2/+1
And use it everywhere we were including the file before. This should make updating the version a heck of a lot easier. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Convert STATIC_URL usage to {% static %} template tagDan McGee1-2/+3
This is a lot more flexible and will allow more than just simple prefixing of the static file resources. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-20Fix todolist sort by maintainerDan McGee1-1/+1
FS#28546. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-12Show current version in todolist details viewDan McGee1-4/+10
This also reorders the columns to be in the same order as package search for consistency. Addresses FS#28369. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-04Add new todolist pkgbase list viewDan McGee1-0/+5
This is for use after rebuilds when moving packages out of the staging and testing repositories. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-06Convert to and enable staticfiles contrib applicationDan McGee1-2/+2
This moves our site static files into the sitestatic directory if they are shared resources, and also moves a handful of things (such as the artwork logos) into application-specific static/ directories. This allows the staticfiles contrib app to work after a few settings tweaks, a run of collectstatic, and massaging the hardcoded '/media/' prefix out of our templates. Django 1.4 is going to make this a lot easier to move things to a CDN and provides better template tags; for now this is setting the stage before we can move to that. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Allow signoff manipulation if you are a maintainerDan McGee1-1/+1
This is a more expensive and not-yet-optimized way of doing this, but we can fix that later as needed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-10Use new package details link tag in templatesDan McGee1-2/+3
This replaces a lot of boilerplate we had everywhere, and makes sure things like the title are consistent across all links. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-08Todo list styling and info cleanupsDan McGee1-1/+3
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-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-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 McGee1-4/+6
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 McGee1-1/+1
Hopefully we can trust our developers on this one. :) Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Redesigned todo list pagesThayer Williams1-54/+60
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 McGee1-1/+2
Conflicts: templates/todolists/view.html
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-05Fix link to packages in todo lists.Dusty Phillips1-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-02format descriptionDusty Phillips1-1/+1
2008-06-28use funky model layout for permissionsDusty Phillips1-2/+2
2008-06-28add delete functionality to todo listsDusty Phillips1-3/+6
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-28refactor todo packages a bitDusty Phillips1-1/+1
2008-06-28improve look of todo listDusty Phillips1-4/+2
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 sortingeliott1-26/+60