Skip to content

Commit

Permalink
use firefox categories if there's no app (bug 622736)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Jan 4, 2011
1 parent a734ae7 commit 1e0863e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions apps/amo/templates/amo/404.lhtml
Expand Up @@ -3,10 +3,7 @@
{% block title %}{{ _('Not Found') }}{% endblock %}

{% block content %}
{# TODO(jbalogh): reverse these URLs. #}
{% trans rec=remora_url('/recommended'),
search=url('search.search'),
home=url('home') %}
{% trans rec=url('browse.featured'), search=url('search.search'), home=url('home') %}
<h1>We're sorry, but we can't find what you're looking for.</h1>

<p>
Expand Down
2 changes: 1 addition & 1 deletion templates/categories.html
Expand Up @@ -9,7 +9,7 @@ <h3 title="{{ _('Choose a category') }}">
</a>
</h3>
<ul id="categoriesdropdown">
{% set categories, types = sidebar(request.APP) %}
{% set categories, types = sidebar(request.APP or amo.FIREFOX) %}
<li>
<ul>
{% for category in categories %}
Expand Down

0 comments on commit 1e0863e

Please sign in to comment.