From 640819c7def0714410c47e10eb5fa9551265e8b3 Mon Sep 17 00:00:00 2001 From: Levi Date: Mon, 9 Jan 2017 19:49:10 -0500 Subject: [PATCH] Fixed #2806 and #2863 --- .../templates/datacenterlight/index.html | 33 +++++++-- .../templates/digitalglarus/login.html | 71 ++++++++++++++++++- .../templates/digitalglarus/supportus.html | 2 +- 3 files changed, 98 insertions(+), 8 deletions(-) diff --git a/datacenterlight/templates/datacenterlight/index.html b/datacenterlight/templates/datacenterlight/index.html index 46c64d27..578c5bed 100755 --- a/datacenterlight/templates/datacenterlight/index.html +++ b/datacenterlight/templates/datacenterlight/index.html @@ -262,11 +262,6 @@ {% csrf_token %} {{ form.non_field_errors }} {{ form.email.errors|striptags}} -
- {% for message in messages %} - {{ message }} - {% endfor %} -
@@ -274,7 +269,26 @@
- + + + + + @@ -360,6 +374,13 @@ style: 'btn-link', windowPadding: 10, }); + + var hash = window.location.hash.substr(1); + console.log(hash); + if (hash == 'requestform'){ + $('#reques-success-message').modal('show'); + } + }; diff --git a/digitalglarus/templates/digitalglarus/login.html b/digitalglarus/templates/digitalglarus/login.html index f61a3f9b..02c44e7d 100644 --- a/digitalglarus/templates/digitalglarus/login.html +++ b/digitalglarus/templates/digitalglarus/login.html @@ -43,9 +43,78 @@ {% endfor %}

{{form.non_field_errors|striptags}}

-

By logging in you agree to ourTerms of Service.

+

By logging in you agree to ourTerms of Service.

+ + + + +
diff --git a/digitalglarus/templates/digitalglarus/supportus.html b/digitalglarus/templates/digitalglarus/supportus.html index 3b333443..afff1994 100644 --- a/digitalglarus/templates/digitalglarus/supportus.html +++ b/digitalglarus/templates/digitalglarus/supportus.html @@ -151,7 +151,7 @@

What we do with your support

-
+
{% for post in post_list %} {% include "ungleich/djangocms_blog/includes/blog_item.html" with post=post image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %}