summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-13 18:05:11 +0200
committerDan McGee <dan@archlinux.org>2010-08-13 18:05:11 +0200
commitc93ed3f6fe3ebe322f3bc0ad269b83a607fb1b53 (patch)
tree9060a5b2ab28193d0b5efe7fb88790cf1529e94e
parent2f3f793670da7e08fb7b42a34b79432d48e8f652 (diff)
downloadarchweb-c93ed3f6fe3ebe322f3bc0ad269b83a607fb1b53.tar.gz
archweb-c93ed3f6fe3ebe322f3bc0ad269b83a607fb1b53.tar.xz
Clarify what the date field means on package search
It sounded like the date had to match exactly which wasn't true, so clarify the label on the form field. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--packages/views.py3
-rw-r--r--templates/packages/search.html2
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/views.py b/packages/views.py
index dfa150c..9f7672e 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -98,7 +98,8 @@ class PackageSearchForm(forms.Form):
arch = forms.ChoiceField(required=False)
q = forms.CharField(required=False)
maintainer = forms.ChoiceField(required=False)
- last_update = forms.DateField(required=False, widget=AdminDateWidget())
+ last_update = forms.DateField(required=False, widget=AdminDateWidget(),
+ label='Last Updated After')
flagged = forms.ChoiceField(
choices=[('', 'All')] + make_choice(['Flagged', 'Not Flagged']),
required=False)
diff --git a/templates/packages/search.html b/templates/packages/search.html
index e9afad9..fdc6895 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -27,7 +27,7 @@
<div><label title="Limit results to a specific maintainer">
Maintainer</label>{{ search_form.maintainer}}</div>
<div><label title="Limit results to a date after the date entered">
- Last Update</label>{{ search_form.last_update }}</div>
+ Last Updated After</label>{{ search_form.last_update }}</div>
<div><label title="Limit results based on out-of-date status">
Flagged</label>{{ search_form.flagged }}</div>
<div><label title="Select the number of results to display per page">