Skip to content

Commit

Permalink
Refine 500 and 404
Browse files Browse the repository at this point in the history
  • Loading branch information
andgates committed Nov 7, 2017
1 parent d7d9b93 commit 1b84f58
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 21 deletions.
16 changes: 6 additions & 10 deletions teamwork/templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@
{{ page_description|default:_('404 Error') }}
{% endblock page_description %}

{% block content %}
{# Add the breadcrumbs for this page #}
{% block crumb %}

<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
404 Error Page
</h1>
<ol class="breadcrumb">
<li class="active"><a href="/whoareyou"><i class="fa fa-dashboard"></i>404 Error</a></li>
</ol>
</section>
<li class="active"><a href="/whoareyou"><i class="fa fa-dashboard"></i>404 Error</a></li>

{% endblock crumb %}

{% block content %}
<!-- Main content -->
<section class="content">
<div class="error-page">
Expand Down
18 changes: 7 additions & 11 deletions teamwork/templates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,17 @@
{% load i18n %}

{% block page_description %}
{{ page_description|default:_('500 Error') }}
{{ page_description|default:_('500 Internal Server Error') }}
{% endblock page_description %}

{% block content %}
{# Add the breadcrumbs for this page #}
{% block crumb %}

<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
500 Internal Server Error
</h1>
<ol class="breadcrumb">
<li class="active"><a href="/whoareyou"><i class="fa fa-dashboard"></i>500 Error</a></li>
</ol>
</section>
<li class="active"><a href="/whoareyou"><i class="fa fa-dashboard"></i>500 Error</a></li>

{% endblock crumb %}

{% block content %}
<!-- Main content -->
<section class="content">
<div class="error-page">
Expand Down

0 comments on commit 1b84f58

Please sign in to comment.