mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-20 06:52:15 +00:00
Also apply better approach to generic detail pages
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
xml:lang="{% firstof LANGUAGE_CODE 'en' %}"
|
||||
lang="{% firstof LANGUAGE_CODE 'en' %}">
|
||||
<head>
|
||||
<title>{{page_title}}{% block title %}{% endblock %} | Rig Information Gathering System</title>
|
||||
<title>{% block title %}{{page_title}}{% endblock %} | Rig Information Gathering System</title>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
@@ -70,7 +70,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% if page_title %}<h2>{{page_title}}</h2>{% endif %}
|
||||
{% if page_title and not request.is_ajax %}<h2>{{page_title}}</h2>{% endif %}
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user