Skip to content

Commit

Permalink
Fix page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Sep 4, 2024
1 parent fd56614 commit 7de02b4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion pretalx_pages/templates/pretalx_pages/delete.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{% extends "orga/base.html" %}
{% load i18n %}
{% block title %}{% trans "Delete a page" %}{% endblock %}

{% block extra_title %}{% trans "Delete a page" %}{% endblock %}

{% block content %}
<h1>{% trans "Delete a page" %}</h1>
<form action="" method="post" class="form-horizontal">
Expand Down
4 changes: 3 additions & 1 deletion pretalx_pages/templates/pretalx_pages/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
{% load i18n %}
{% load bootstrap4 %}
{% load static %}
{% block title %}{% trans "Page" %}{% endblock %}

{% block extra_title %}{% trans "Page" %}{% endblock %}

{% block content %}
<h1>{% trans "Page" %}</h1>
<form action="" method="post" class="form-horizontal" data-id="{{ page.id }}">
Expand Down
4 changes: 3 additions & 1 deletion pretalx_pages/templates/pretalx_pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
{% load i18n %}
{% load compress %}
{% load static %}
{% block title %}{% trans "Pages" %}{% endblock %}

{% block extra_title %}{% trans "Pages" %}{% endblock %}

{% block content %}
<h1>{% trans "Pages" %}</h1>
{% if pages|length == 0 %}
Expand Down
3 changes: 2 additions & 1 deletion pretalx_pages/templates/pretalx_pages/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
{% endif %}
{% endblock %}

{% block title %}{{ page_title }} :: {{ event.name }}{% endblock %}
{% block extra_title %}{{ page_title }}{% endblock %}

{% block content %}
<h2>{{ page_title }}</h2>
<article>{{ content|safe }}</article>
Expand Down

0 comments on commit 7de02b4

Please sign in to comment.