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" %}
|
{% extends "tenantbase.html" %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block title %}{{ object }}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{{ object }}</h1>
|
<h1>{{ object }}</h1>
|
||||||
<h2>{% translate "Players" %}</h2>
|
<h2>{% translate "Players" %}</h2>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% block mainpage %}
|
{% block mainpage %}
|
||||||
<h1>{% translate "Add new campaign" %}</h1>
|
<h1>{% translate "Add new campaign" %}</h1>
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block title %}{% translate "Campaign Overview" %}{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block mainpage %}
|
{% block mainpage %}
|
||||||
{% if user %}
|
{% if user %}
|
||||||
<h1>{{ user }}</h1>
|
<h1>{% translate "Campaign Overview" %}</h1>
|
||||||
<a href="{% url "logout" %}">{% translate "Log out" %}</a>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for campaign in campaigns %}
|
{% for campaign in campaigns %}
|
||||||
<h2><a href="{{ campaign.get_absolute_url }}">{{ campaign.name }}</a></h2>
|
<h2><a href="{{ campaign.get_absolute_url }}">{{ campaign.name }}</a></h2>
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load formatters %}
|
{% load formatters %}
|
||||||
|
|
||||||
|
{% block title %}{% translate "Loot" %}{% endblock %}
|
||||||
|
|
||||||
{% block heading %}
|
{% block heading %}
|
||||||
<h1>{% translate "Loot" %}</h1>
|
<h1>{% translate "Loot" %}</h1>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<title>{% block title %}{% endblock %}</title>
|
<title>{% block title %}{% endblock %} - RPGnotes</title>
|
||||||
|
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
{% if debug %}
|
{% if debug %}
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load version %}
|
{% load version %}
|
||||||
|
|
||||||
|
{% block title %}{{ object }}{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block mainpage %}
|
{% block mainpage %}
|
||||||
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|
Loading…
Reference in a new issue