From 5ed5f748f2db2b781d34184767561cb7b796a45d Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 9 Apr 2018 10:53:45 +1200 Subject: rrs: restore full-width pages Upon consideration, for the width of the information we want to present we do actually want full-width pages for the RRS. When this was changed earlier in the rrs branch it was changed in the base template, but we want to keep the same style elsewhere, so put a block in that will let use the "container-fluid" style (full width) in the RRS pages and "container" by default everywhere else. Signed-off-by: Paul Eggleton --- templates/base.html | 2 +- templates/rrs/base_toplevel.html | 2 ++ templates/rrs/recipedetail.html | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 2bd000037d..38373ab892 100644 --- a/templates/base.html +++ b/templates/base.html @@ -88,7 +88,7 @@ {% endautoescape %} {% endblock %} -
+{% block contenttag %}
{% endblock %} {% if messages %} {% for message in messages %} {{ message }}
diff --git a/templates/rrs/base_toplevel.html b/templates/rrs/base_toplevel.html index fcd8523c49..e22684b497 100644 --- a/templates/rrs/base_toplevel.html +++ b/templates/rrs/base_toplevel.html @@ -11,6 +11,8 @@ {% endcomment %} +{% block contenttag %}
{% endblock %} + {% block topfunctions %}