diff --git a/board/templates/board/action_success.html b/board/templates/board/action_success.html index 9c950ba..41163ec 100644 --- a/board/templates/board/action_success.html +++ b/board/templates/board/action_success.html @@ -1,7 +1,7 @@ {% extends "board/base.html" %} {% load i18n static %} {# Title #} -{% block title %}{% translate "Action success" %}{% endblock %} +{% block title %}{% translate "Action success" %} {{block.super}}{% endblock %} {# Body #} {% block content %}
diff --git a/board/templates/board/ban_form.html b/board/templates/board/ban_form.html index ac723af..91a90b4 100644 --- a/board/templates/board/ban_form.html +++ b/board/templates/board/ban_form.html @@ -1,6 +1,8 @@ {% extends "board/base.html" %} {% load i18n %} +{% block title %}Create new ban for {{ post.id }} {{ block.super }}{% endblock %} + {% block content %}
{% csrf_token %} diff --git a/board/templates/board/ban_success.html b/board/templates/board/ban_success.html index 8d14073..1729a2f 100644 --- a/board/templates/board/ban_success.html +++ b/board/templates/board/ban_success.html @@ -1,7 +1,7 @@ {% extends "board/base.html" %} {% load i18n static %} {# Title #} -{% block title %}{% translate "Ban success" %}{% endblock %} +{% block title %}{% translate "Ban success" %} {{block.super}}{% endblock %} {# Body #} {% block content %}
diff --git a/board/templates/board/banned.html b/board/templates/board/banned.html index dcb2cf4..4ca597e 100644 --- a/board/templates/board/banned.html +++ b/board/templates/board/banned.html @@ -2,14 +2,11 @@ {% block title %} {% if bans %} - {% with title="Banned" %} - {{ block.super }} - {% endwith %} + Banned {% else %} - {% with title="Not banned" %} - {{ block.super }} - {% endwith %} + Not banned {% endif %} + {{block.super}} {% endblock title %} {% block extrastyle %} diff --git a/board/templates/board/board_detail.html b/board/templates/board/board_detail.html index 6784b6b..4b7d5b5 100644 --- a/board/templates/board/board_detail.html +++ b/board/templates/board/board_detail.html @@ -3,9 +3,7 @@ {% load i18n %} {% block title %} - {% with title=board.url %} - {{ block.super }} - {% endwith %} + /{{board.url}}/ - {{board.name}} {{block.super}} {% endblock title %} {% block content %} diff --git a/board/templates/board/news_list.html b/board/templates/board/news_list.html index 3825acb..67179a4 100644 --- a/board/templates/board/news_list.html +++ b/board/templates/board/news_list.html @@ -1,9 +1,7 @@ {% extends "board/base.html" %} {% load i18n %} -{% block title %} -News -{% endblock title %} +{% block title %}News {{block.super}}{% endblock title %} {% block content %} diff --git a/board/templates/board/post_confirm_delete.html b/board/templates/board/post_confirm_delete.html index d43658e..15f3c5e 100644 --- a/board/templates/board/post_confirm_delete.html +++ b/board/templates/board/post_confirm_delete.html @@ -1,6 +1,10 @@ {% extends "board/base.html" %} {% load i18n %} +{% block title %} +Deleting post {{post.id}} {{block.super}} +{% endblock title %} + {% block content %} {% csrf_token %} diff --git a/board/templates/board/post_create.html b/board/templates/board/post_create.html index 76a3b9f..ef26953 100644 --- a/board/templates/board/post_create.html +++ b/board/templates/board/post_create.html @@ -1,6 +1,10 @@ {% extends "board/base.html" %} {% load i18n post_body %} +{% block title %} +Creating new post on /{{board.url}}/ {{block.super}} +{% endblock %} + {% block extrastyle %}