From 31107ff4e1a273b9c1f399ed4ae1907d3e0a9f8c Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Thu, 8 Jun 2017 05:50:32 +0530 Subject: [PATCH 01/19] Fixed a bug due to i18n not loaded in html template. This caused the images in the posts of the blog not to appear. --- cms_templates/djangocms_blog/_header_post_detail.html | 1 + 1 file changed, 1 insertion(+) diff --git a/cms_templates/djangocms_blog/_header_post_detail.html b/cms_templates/djangocms_blog/_header_post_detail.html index 909b8427..fb49e5ca 100644 --- a/cms_templates/djangocms_blog/_header_post_detail.html +++ b/cms_templates/djangocms_blog/_header_post_detail.html @@ -1,4 +1,5 @@ {% load cms_tags staticfiles %} +{% load i18n %}
Date: Thu, 8 Jun 2017 11:40:01 +0530 Subject: [PATCH 02/19] Updated changelog --- Changelog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Changelog b/Changelog index eadfa034..7f06df38 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +1.0.7: 2017-06-08 + * [datacenterlight] Fixed an issue causing header images not appear in the blog 1.0.6: 2017-06-06 * [datacenterlight] Hotfix, feature/manualorder added 1.0.5: 2017-06-06 From b15bae49406af363488f5e4167db18c85fa227aa Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 8 Jun 2017 21:55:35 +0200 Subject: [PATCH 03/19] Add template base.html --- .../templates/datacenterlight/base.html | 43 +++++++++++ .../templates/datacenterlight/order.html | 73 +++++-------------- .../templates/datacenterlight/success.html | 61 +++------------- 3 files changed, 71 insertions(+), 106 deletions(-) create mode 100644 datacenterlight/templates/datacenterlight/base.html diff --git a/datacenterlight/templates/datacenterlight/base.html b/datacenterlight/templates/datacenterlight/base.html new file mode 100644 index 00000000..3b43ff9c --- /dev/null +++ b/datacenterlight/templates/datacenterlight/base.html @@ -0,0 +1,43 @@ +{% load staticfiles i18n%} +{% get_current_language as LANGUAGE_CODE %} + + + + + + + + + + + + Data Center Light - + {% block title %}VM hosting made in Switzerland{% endblock %} + + + + + + + + + + + + + + + + + + + + + {% block body %} + + {% endblock %} + + diff --git a/datacenterlight/templates/datacenterlight/order.html b/datacenterlight/templates/datacenterlight/order.html index d20bd897..05d8f651 100644 --- a/datacenterlight/templates/datacenterlight/order.html +++ b/datacenterlight/templates/datacenterlight/order.html @@ -1,45 +1,6 @@ -{% load staticfiles i18n%} -{% get_current_language as LANGUAGE_CODE %} - - +{% extends "base.html" %} - - - - - - - - - datacenterlight.ch - Featherlight Swiss VM - - - - - - - - - - - - - - - - - - - - - - - - - +{% block body %}