Implement Unflag feature on the Package Details page
commit8909efb0aac87223f78b61f494b1674a7e4ba28c
authorLaszlo Papp <djszapi@archlinux.us>
Sun, 29 Nov 2009 09:16:10 +0000 (29 10:16 +0100)
committerSebastian Nowicki <sebnow@gmail.com>
Sun, 20 Dec 2009 06:01:00 +0000 (20 14:01 +0800)
tree42ae95e69ddf2c7382dfcc8ef1f0dd8093c703be
parent8c8c5e585c8452d29fb0122c15a9f841d2cf8254
Implement Unflag feature on the Package Details page

It was needed, because until this time only the Flag out-of-date option
was available there, and it could be solved without any plus line adding
in the Package Details page.

The implementation touched the following items:
* Implement unflag_out_of_date function in the aur/views.py
* Add the desired link for this operation in the aur/urls.py
* Modify the string for the relevant link in the package_detail.html
template

Signed-off-by: Laszlo Papp <djszapi@archlinux.us>
Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
archlinux/aur/urls.py
archlinux/aur/views.py
archlinux/templates/aur/package_detail.html