templates: add body class to wcs pages (#51837)

This commit is contained in:
Thomas Jund 2021-03-09 12:14:02 +01:00
parent ba0106396e
commit a303ee1879
4 changed files with 1 additions and 6 deletions

View File

@ -1,8 +1,6 @@
{% extends "wcs/base.html" %}
{% load static %}
{% block extra-body-class %}{{ block.super }} wcs-page{% endblock %}
{% block topsection %}
{% if title %}
<div id="content-top-wrapper">

View File

@ -1,8 +1,6 @@
{% extends "wcs/base.html" %}
{% load static %}
{% block extra-body-class %}{{ block.super }} wcs-page{% endblock %}
{% block topside %}
<div class="topside">
<div id="idea">

View File

@ -1,7 +1,5 @@
{% extends "wcs/base.html" %}
{% block extra-body-class %}{{ block.super }} wcs-page{% endblock %}
{% block page-header %}
<h1 class="mobile-only wcs-page-title">{{ title }}</h1>
{% endblock %}

View File

@ -8,6 +8,7 @@
{% block extra-body-class %}
{{ block.super }}
wcs-page
{% if global_context.form_slug %}
{% if global_context.category_slug %}formdef-category-{{global_context.category_slug}}{% endif %}
formdef-{{global_context.form_slug}}