summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-13 11:05:11 -0500
committerDan McGee <dan@archlinux.org>2010-08-13 11:05:11 -0500
commitc93ed3f6fe3ebe322f3bc0ad269b83a607fb1b53 (patch)
tree9060a5b2ab28193d0b5efe7fb88790cf1529e94e
parent2f3f793670da7e08fb7b42a34b79432d48e8f652 (diff)
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 dfa150c2..9f7672e0 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 e9afad95..fdc68953 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">