Mercurial > public > sg101
changeset 1145:a469445d8be3
Convert fixed pages to V3 design.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 14 Nov 2016 19:40:36 -0600 |
parents | c31008989a16 |
children | 439eb97a6ca8 |
files | core/views.py sg101/templates/fixed/base.html |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/views.py Mon Nov 14 19:29:34 2016 -0600 +++ b/core/views.py Mon Nov 14 19:40:36 2016 -0600 @@ -56,4 +56,5 @@ context = super(FixedView, self).get_context_data(**kwargs) context['title'] = self.title context['content_template'] = self.content_template + context['V3_DESIGN'] = True return context
--- a/sg101/templates/fixed/base.html Mon Nov 14 19:29:34 2016 -0600 +++ b/sg101/templates/fixed/base.html Mon Nov 14 19:40:36 2016 -0600 @@ -1,4 +1,4 @@ -{% extends 'base.html' %} +{% extends 'v3/base.html' %} {% block title %}{{ title }}{% endblock %} {% block content %} {% include content_template %}