Template cleanup of base dir templates

This commit is contained in:
Sachi King 2017-04-25 15:59:35 +10:00
parent 8e8f46276f
commit e562b61521
3 changed files with 256 additions and 266 deletions

View file

@ -18,7 +18,6 @@
{% available_categories as categories %} {% available_categories as categories %}
{% if categories %} {% if categories %}
{% if user.is_staff %} {% if user.is_staff %}
<div class="container"> <div class="container">
<div class="page-header"> <div class="page-header">
@ -32,7 +31,6 @@
</div> </div>
{% endif %} {% endif %}
<div class="container"> <div class="container">
<div class="page-header"> <div class="page-header">
<h1>{% trans "Attend" %} {% conference_name %}</h1> <h1>{% trans "Attend" %} {% conference_name %}</h1>
@ -240,8 +238,6 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{# {% include 'registrasion/dashboard-widget.html' %} #}
{% if review_sections %} {% if review_sections %}
<div class="container"> <div class="container">
<div class="page-header"> <div class="page-header">
@ -268,7 +264,6 @@
</div> </div>
{% endif %} {% endif %}
{% available_teams as available_teams %} {% available_teams as available_teams %}
{% if user.memberships.exists or available_teams %} {% if user.memberships.exists or available_teams %}
<div class="container"> <div class="container">
@ -354,4 +349,4 @@
var toggleVoidInvoices = _toggleVoidInvoices(); var toggleVoidInvoices = _toggleVoidInvoices();
_toggleVoidInvoices() = undefined; _toggleVoidInvoices() = undefined;
</script> </script>
{% endblock %} <!-- scripts_extra --> {% endblock %}

View file

@ -1,12 +1,7 @@
{% extends "content_page.html" %} {% extends "content_page.html" %}
{% load staticfiles %} {% load staticfiles %}
{% comment %}
{% block header_background_image %}{% static 'pyconau2017/images/wineglass_bg_optimised.jpg' %}{% endblock %}
{% endcomment %}
{% block header_title %}{% block page_title %}{% endblock %}{% endblock %} {% block header_title %}{% block page_title %}{% endblock %}{% endblock %}
{% block header_inset_image_base %}{% endblock %}
{% block content_base %} {% block content_base %}
{% block utility_body_outer %} {% block utility_body_outer %}