1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00

add title to pages

This commit is contained in:
Lukas Winkler 2021-09-29 22:20:25 +02:00
parent c6dd5d5a41
commit 455f771987
Signed by: lukas
GPG key ID: 54DE4D798D244853
6 changed files with 15 additions and 5 deletions

View file

@ -1,6 +1,8 @@
{% extends "tenantbase.html" %}
{% load i18n %}
{% block title %}{{ object }}{% endblock %}
{% block content %}
<h1>{{ object }}</h1>
<h2>{% translate "Players" %}</h2>

View file

@ -4,6 +4,7 @@
{% load static %}
{% block mainpage %}
<h1>{% translate "Add new campaign" %}</h1>

View file

@ -1,10 +1,12 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}{% translate "Campaign Overview" %}{% endblock %}
{% block mainpage %}
{% if user %}
<h1>{{ user }}</h1>
<a href="{% url "logout" %}">{% translate "Log out" %}</a>
<h1>{% translate "Campaign Overview" %}</h1>
{% endif %}
{% for campaign in campaigns %}
<h2><a href="{{ campaign.get_absolute_url }}">{{ campaign.name }}</a></h2>

View file

@ -2,6 +2,8 @@
{% load i18n %}
{% load formatters %}
{% block title %}{% translate "Loot" %}{% endblock %}
{% block heading %}
<h1>{% translate "Loot" %}</h1>
{% endblock %}

View file

@ -9,7 +9,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{% endblock %}</title>
<title>{% block title %}{% endblock %} - RPGnotes</title>
<!-- Bootstrap -->
{% if debug %}
@ -50,10 +50,10 @@
{% if sentry_event_id %}
<script src="{% static "libs/bundle.min.js" %}"></script>
<script nonce="{{request.csp_nonce}}">
<script nonce="{{ request.csp_nonce }}">
Sentry.init({dsn: "{{ sentry_dsn }}"});
{% get_current_language as LANGUAGE_CODE %}
Sentry.showReportDialog({eventId: "{{ sentry_event_id }}",lang:"{{ LANGUAGE_CODE }}"});
Sentry.showReportDialog({eventId: "{{ sentry_event_id }}", lang: "{{ LANGUAGE_CODE }}"});
</script>
{% endif %}
{% block extra_js %}{% endblock %}

View file

@ -3,6 +3,9 @@
{% load i18n %}
{% load version %}
{% block title %}{{ object }}{% endblock %}
{% block mainpage %}
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">