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

Commit 7a856e2

Browse files
committed
Merge remote-tracking branch 'upstream/staging' into ikhaya-addition
2 parents fcaeab9 + 8ac2718 commit 7a856e2

File tree

23 files changed

+86
-6
lines changed

23 files changed

+86
-6
lines changed

inyoka_theme_default/templates/base.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@
2222
<meta name="viewport" content="width=device-width, initial-scale=1">
2323
{% endblock %}
2424

25-
<title>
26-
{% block page_title %}
27-
Inyoka
28-
{% endblock %}
29-
</title>
25+
<title>{% block title %}Inyoka{% endblock %}</title>
3026

3127
<link href="{{ href('static', 'style', 'style.css') }}" rel="stylesheet" type="text/css" />
3228
{% endblock %}

inyoka_theme_default/templates/errors/400_csrf.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#}
1010

1111
{% extends 'base.html' %}
12+
{% block title %}
13+
400 - {{ super() }}
14+
{% endblock title %}
1215

1316
{% block content %}
1417
<h2>{% trans %}Bad request{% endtrans %}</h2>

inyoka_theme_default/templates/errors/403.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
{% extends 'base.html' %}
1414

15+
{% block title %}
16+
403 - {{ super() }}
17+
{% endblock title %}
18+
1519
{% block content %}
1620
<p>
1721
{% trans %}You do not have permissions to access this page.{% endtrans %}

inyoka_theme_default/templates/errors/404.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
{% extends 'base.html' %}
1212

13+
{% block title %}
14+
404 - {{ super() }}
15+
{% endblock title %}
16+
1317
{% block content %}
1418
{% if err_message %}
1519
<p>{{ err_message }}</p>

inyoka_theme_default/templates/forum/base.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
{% set active_app = 'forum' %}
1414

15+
{% block title %}
16+
Forum - {{ super() }}
17+
{% endblock %}
18+
1519
{% block scripts %}
1620
<script src="{{ href('static', 'js', 'forum.js') }}"></script>
1721
{% endblock %}

inyoka_theme_default/templates/forum/edit.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
#}
1111

1212
{% extends 'forum/base.html' %}
13+
{% block title %}
14+
{{_('Edit') }} - {{ topic }} - {{ super() }}
15+
{% endblock %}
1316

1417
{% block breadcrumb %}
1518
{{ super() }}

inyoka_theme_default/templates/forum/forum.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#}
1010
{% extends 'forum/base.html' %}
1111

12+
{% block title %}
13+
{{ forum }} - {{ super() }}
14+
{% endblock title %}
15+
1216
{% import 'macros.html' as macros %}
1317
{% set rendered_pagination = macros.render_pagination(pagination) %}
1418

inyoka_theme_default/templates/forum/topic.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
{% extends 'forum/base.html' %}
1414

15+
{% block title %}
16+
{{ topic }} - {{ topic.forum }} - {{ super() }}
17+
{% endblock %}
18+
1519
{% block breadcrumb %}
1620
{{ super() }}
1721

inyoka_theme_default/templates/ikhaya/base.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#}
1010
{% extends 'base.html' %}
1111

12+
{% block title %}
13+
Ikhaya - {{ super() }}
14+
{% endblock %}
15+
1216
{% set active_app = 'ikhaya' %}
1317

1418
{% block breadcrumb %}

inyoka_theme_default/templates/ikhaya/detail.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
(_('Comments - Full'), href('ikhaya', feed|format('full'))),
1717
] %}
1818

19+
{% block title %}
20+
{{ article.subject }} - {{ super() }}
21+
{% endblock %}
22+
1923
{% block breadcrumb %}
2024
{{ super() }}
2125

0 commit comments

Comments
 (0)