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:
parent
c6dd5d5a41
commit
455f771987
6 changed files with 15 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
|||
{% extends "tenantbase.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{{ object }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ object }}</h1>
|
||||
<h2>{% translate "Players" %}</h2>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
{% load static %}
|
||||
|
||||
|
||||
|
||||
{% block mainpage %}
|
||||
<h1>{% translate "Add new campaign" %}</h1>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
{% load i18n %}
|
||||
{% load formatters %}
|
||||
|
||||
{% block title %}{% translate "Loot" %}{% endblock %}
|
||||
|
||||
{% block heading %}
|
||||
<h1>{% translate "Loot" %}</h1>
|
||||
{% endblock %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue