summaryrefslogtreecommitdiffstats
path: root/packages/templatetags
AgeCommit message (Collapse)AuthorFilesLines
2011-09-01Use package branches to display commit historyEvangelos Foutras1-13/+6
We now have one link pointing to the tree of /trunk, and another pointing to the log of /trunk. Both links specify a package branch. Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-20Ensure ampersands are properly escaped in hrefsDan McGee1-5/+11
This was pointed out by the W3C validator. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16add "search wiki" link to package details pageSergej Pupykin1-0/+8
Dan: fix usage of urlencode() function. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-10Add a template tag to link multiple packages at onceDan McGee1-0/+4
Comma-separated list. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-10Add package details link tagDan McGee1-1/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-19Reimplement links code as template tagsDan McGee1-2/+35
These were starting to get a bit too much inside the model itself, and they don't really belong there as they are view layer concerns anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-13Ensure PyPy compatibilityDan McGee1-2/+5
Unfortunately I was relying on all python environments having this method defined, which is not true yet. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-08Clean up current_query and preserve multiple argsDan McGee1-7/+9
When implementing search for multiple architectures or repositories, I didn't update this method to accomidate the new query parameters. Clean it up a bit by not appending/stripping the leading '?' anywhere but in the template itself, and ensure we can handle multiple of any parameter passed in. Fixes FS#23180. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-13Make userpkgs a simple_tagDan McGee1-25/+12
Cleans up the code a decent amount. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-04Add a title to the userpkgs linkDan McGee1-2/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-28Add new 'userpkgs' template tagDan McGee1-0/+22
For easy linking to a given person's packages when we have a user object. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-05-17Kill td_input template and tagDan McGee1-4/+0
2008-10-12drop some unused templatetagsDusty Phillips1-18/+5
2008-10-07trying to flesh out the pageDusty Phillips1-2/+4
2008-10-07replace package search with a nonfunctional newformDusty Phillips1-0/+4
2008-10-07move validation template tage temporarily; it will be removed eventuallyDusty Phillips1-0/+9
2008-06-20sort last updated descending by default. FS#10703Dusty Phillips1-1/+4
2007-12-30Massive retab fest.eliott1-17/+20
Also added vim command comment to the end of files.
2007-11-03Initial import for public release...eliott2-0/+28
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!