Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2730 from openjck/1064965-404-page-localization
Browse files Browse the repository at this point in the history
Fix bug 1064965: Allow 404 page to be localized
  • Loading branch information
groovecoder committed Sep 18, 2014
2 parents 7f1bbc2 + 58a885b commit fa72cfa
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,27 @@ <h1>Not Found</h1>
<img id="beast404re" src="{{ MEDIA_URL }}img/beast-404_RE.png" alt="">
<img class="beast 404" src="{{ MEDIA_URL }}img/beast-404.png" alt="">
</div>
<p>We're sorry, we couldn't find what you were looking for.</p>
<p>You can try a search or start over on the <a href="{{ url('home') }}">home page</a>.</p>
<p>If you were following a documentation link, you can sign in and create the page. Otherwise, please <a href="https://bugzilla.mozilla.org/form.doc" rel="nofollow">file a bug</a>. Thanks!</p>

<p>{% trans %}
We're sorry, we couldn't find what you were looking for.
{% endtrans %}</p>

<p>{% trans homepage_url=url('home') %}
You can try a search or start over on the <a href="{{ homepage_url }}">home page</a>.
{% endtrans %}</p>

<p>{% trans bug_form_url='https://bugzilla.mozilla.org/form.doc' %}
If you were following a documentation link, you can sign in and create the page. Otherwise, please <a href="{{ bug_form_url }}" rel="nofollow">file a bug</a>. Thanks!
{% endtrans %}</p>

{% if not user.is_authenticated() %}
{% include "socialaccount/snippets/provider_list.html" %}
{% endif %}

<p class="attrib"><small><a href="http://theoatmeal.com/comics/state_web_summer#tumblr" rel="nofollow">Tumbeasts</a> by Matthew Inman of <a href="http://theoatmeal.com" rel="nofollow">The Oatmeal</a></small></p>
<p class="attrib"><small>{% trans tumbeasts_url='http://theoatmeal.com/comics/state_web_summer#tumblr', oatmeal_url='http://theoatmeal.com' %}
<a href="{{ tumbeasts_url }}" rel="nofollow">Tumbeasts</a> by Matthew Inman of <a href="{{ oatmeal_url }}" rel="nofollow">The Oatmeal</a>
{% endtrans %}</small></p>

</section>
</div>
</section>
Expand Down

0 comments on commit fa72cfa

Please sign in to comment.