From e7473acdda92e05908b9f2a16cd391f29f546916 Mon Sep 17 00:00:00 2001 From: David Ray Date: Fri, 7 Feb 2014 14:04:33 -0500 Subject: [PATCH] Fixed #37 --- sandstone/templates/pages/richtextpage.html | 8 ++++ templates/pages/brand.html | 49 +++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 templates/pages/brand.html diff --git a/sandstone/templates/pages/richtextpage.html b/sandstone/templates/pages/richtextpage.html index 14df336..7a1b246 100644 --- a/sandstone/templates/pages/richtextpage.html +++ b/sandstone/templates/pages/richtextpage.html @@ -4,24 +4,32 @@ {% block main %}{{ block.super }} +

{% editable page.richtextpage.title %} {{ page.richtextpage.title|richtext_filters|safe }} {% endeditable %} +

+

{% editable page.richtextpage.subtitle %} {{ page.richtextpage.subtitle|richtext_filters|safe }} {% endeditable %} +

+

{% editable page.richtextpage.intro %} {{ page.richtextpage.intro|richtext_filters|safe }} {% endeditable %} +

{% editable page.richtextpage.content %} {{ page.richtextpage.content|richtext_filters|safe }} {% endeditable %} +

{% editable page.richtextpage.closing %} {{ page.richtextpage.closing|richtext_filters|safe }} {% endeditable %} +

{% endblock %} diff --git a/templates/pages/brand.html b/templates/pages/brand.html new file mode 100644 index 0000000..5d26330 --- /dev/null +++ b/templates/pages/brand.html @@ -0,0 +1,49 @@ +{% extends "pages/richtextpage.html" %} +{% load i18n %} +{% load mezzanine_tags %} + +{% block main %} + +{% if request.user.is_authenticated %} +

+ {% editable page.richtextpage.title %} + {{ page.richtextpage.title|richtext_filters|safe }} + {% endeditable %} +

+ +

+ {% editable page.richtextpage.subtitle %} + {{ page.richtextpage.subtitle|richtext_filters|safe }} + {% endeditable %} +

+ +

+ {% editable page.richtextpage.intro %} + {{ page.richtextpage.intro|richtext_filters|safe }} + {% endeditable %} +

+ + {% editable page.richtextpage.content %} + {{ page.richtextpage.content|richtext_filters|safe }} + {% endeditable %} + +

+ {% editable page.richtextpage.closing %} + {{ page.richtextpage.closing|richtext_filters|safe }} + {% endeditable %} +

+{% else %} +

{% trans "Partner with us" %}

+

+ {% trans "As a brand, Firefox is a global leader in web recognition, trust and security. By partnering with us, you too can benefit from these great attributes." %} +

+

+ {% trans "We've made it very easy and straight forward to take the Open Source B2G operating system, and brand it 'Firefox OS'. Register below and build a Firefox OS phone." %} +

+ {% trans "Register" %} +{% endif %} + + +{% endblock %} + +