Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Don't assume user submitted a search (bug 680469)
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Sep 23, 2011
1 parent 916c95b commit faf1c38
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion apps/phonebook/templates/phonebook/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@ <h1>{{ _('Search') }}</h1>
</button>
</form>

{% if size_exceeded_error %}
{% if not form.cleaned_data %}
{% trans %}
<h2>Search For a Mozillian</h2>

<p>
You can search for another Mozillian using their name, email, or
nickname.
</p>
{% endtrans %}
{% elif size_exceeded_error %}
{% trans %}
<h2>Too Many Search Results</h2>

Expand Down

0 comments on commit faf1c38

Please sign in to comment.