summaryrefslogtreecommitdiffstats
path: root/templates/packages
AgeCommit message (Collapse)AuthorFilesLines
2010-04-03Fix filelists AJAX replacementDan McGee2-12/+12
We were double nesting the filelist div. Have the AJAX call only return the contents and not the enclosing div. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-27Move package maintainer off of package modelDan McGee3-6/+11
This is an attempt to fix our long-standing problems dealing with maintainer information. Move the actual maintainer information off of the package model into a PackageRelation object, which has some flexibility to later represent more than just maintainership. This solves multiple problems: * If a package gets accidentally deleted, so did the maintainer info * Testing packages have always shown up as orphans * With split packages, it was easy to miss some of the sub-packages This commit does not include the deletion of the original maintainer column; that will come at a later time when I feel more confident that the data was migrated correctly. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-12Add link from files back to packageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-06Use repo.testing flag instead of test-based checksDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-03Make files view use jquery CDN template tagDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-02Add '(testing)' suffix to dependencies listDan McGee1-2/+2
Just like it already was in the required by list. This should address FS#10475. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-03-02Fix up HTML titles on a lot of pagesDan McGee3-2/+3
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-02Fix busted HTML on flag package pageDan McGee1-1/+2
Missing a closing div and no real need for the br tag. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Show message if no files availableDan McGee2-3/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27files: template reuseDan McGee2-8/+1
Get rid of the copy/paste by including the sub-template. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Make files view AJAX if supportedDan McGee2-1/+26
This will put the filelist inline on the package details page if using a capable browser. It should still fallback to a separate page if necessary (e.g. all those users using links on the site). Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Re-add link to package filesDan McGee1-3/+2
Put the link that has been commented back on the page, and point it at the new URL for package files. Also fix the page title to be more in line with all the other pages on the site. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Make the package files view look betterDan McGee1-5/+10
Make it look more like the dependencies and required-by panes on the main package details page. Some day you might even find it shows up below there too via an AJAX call or something. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Make template changes to show additional informationDan McGee1-0/+9
Make package size, installed size, and build date available in the UI. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-09Move /jsi18n/ back out of /admin/ appDan McGee1-1/+1
This way we can skip the redirect to HTTPS on the real site that is not necessary by any means, and it works out for the best. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-09Add OpenSearch support to the siteDan McGee1-0/+13
Implements FS#14185. It is a bit more complex than listed there as I wanted to not hardcode the URLs in the descriptor file; to do this we need to make it a template and fill some things in. We also need to serve the file using the correct mime type. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Get the calendar widget workingDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01More template cleanup: flag packageDan McGee1-23/+20
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Provide SVN links to trunk/ for each packageDan McGee1-1/+2
This is, at least for me, more useful than the link to a specific build of a package. We provide both so no one should lose here. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01More validation fixupsDan McGee2-16/+27
Random stupids in our HTML, this should be a little better at least. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Touch up the depends and requiredby display in package detailsDan McGee1-4/+12
This started out as a validation fix for the W3 validator: we had some <ul/> elements that ended up on that page with no inner <li/> elements, so it was invalid markup. I then realized we don't need to call the methods multiple times so use the 'with' template tag. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Handle empty pkgdesc and url a bit betterDan McGee1-2/+2
Put an actual NULL in the database and handle it for both display and import. Also add a migration to clean up any bad data we currently have in there. Fixes FS#17144. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Make bugs link more usefulDan McGee1-1/+1
Link directly to the right project in Flyspray instead of whatever the user looked at last. Fixes FS#13166. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Fix up the packages search pageDan McGee1-11/+14
* Don't show checkboxes for non-authenticated users * Fix up the adopt buttons to not be a table row * Fix the form which didn't have a closing tag Signed-off-by: Dan McGee <dan@archlinux.org>
2009-11-10updated packages template files from code of pubIsmael Carnales2-14/+17
2009-11-10update packages detail template with code from pubIsmael Carnales1-13/+20
also added user restrictions
2009-11-10added missing packages views from archweb_pubIsmael Carnales4-0/+71
2009-10-17Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to ↵Thomas Bächler1-1/+1
archweb_dev. This is the original commit message by Dan: "Make package SVN links always work This should clean up the links for all varieties of things- different arches (including any), different repos (community and community-testing), and split packages. All of the logic is in one place now and any further changes should be made to the method on the package object."
2009-09-12Fix community links.Dusty Phillips1-1/+1
2009-08-18Apparently you couldn't view the packages page if the user wasn't logged ↵Dusty Phillips1-1/+1
into the admin.
2009-04-14FS#11325. Add a 'Target Repo' column to the signoffs page.Dusty Phillips1-1/+3
2009-04-14Aaron says maintainer column isn't necessary (FS#11325)Dusty Phillips1-2/+0
2009-01-31Add package count to the top of the search table.Dusty Phillips1-1/+26
2009-01-01display the license field on package descriptionsDusty Phillips1-0/+3
2008-10-12drop jquery dependencyDusty Phillips1-5/+0
2008-10-10use standard messagingDusty Phillips1-6/+0
2008-10-10drop search/ url and just go to packagesDusty Phillips1-8/+8
2008-10-08fix package details pageDusty Phillips1-1/+1
2008-10-07sort returns to first pageDusty Phillips1-5/+5
2008-10-07trying to flesh out the pageDusty Phillips1-7/+10
2008-10-07make sort form workDusty Phillips1-1/+1
2008-10-07make form submit some but not all valuesDusty Phillips1-28/+49
2008-10-07replace package search with a nonfunctional newformDusty Phillips2-66/+25
2008-10-07move validation template tage temporarily; it will be removed eventuallyDusty Phillips2-2/+0
2008-08-16#10340 Integrated Signoffs completed but untestedDusty Phillips1-2/+17
2008-08-06improve the templateDusty Phillips1-1/+7
2008-08-06boilerplate for new signoffs codeDusty Phillips1-0/+32
2008-07-06 #10213 make package urls be pretty cool, if not awesomeDusty Phillips1-2/+2
2008-06-30add maintainer column to search resultsDusty Phillips1-0/+11
2008-06-24Revert "add maintainer to search log"Dusty Phillips1-2/+0
This reverts commit fe03cefa08b4332c8a404a8952f21e39f7e26115.