From 4324ae07dea7b462daa0694b66350e6696dfb139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ghi=C8=9B=C4=83=20Biz=C4=83u?= Date: Thu, 10 Dec 2015 15:02:04 +0200 Subject: [PATCH] Refs #30206 InSitu; Use saved portal title in site identity. --- .../main_template.pt | 310 +++++++------- land/copernicus/theme/static/index.html | 401 ++++++++++-------- land/copernicus/theme/static/rules.xml | 2 + 3 files changed, 391 insertions(+), 322 deletions(-) diff --git a/land/copernicus/theme/skins/copernicus_theme_templates/main_template.pt b/land/copernicus/theme/skins/copernicus_theme_templates/main_template.pt index fbb35383..a2c10279 100644 --- a/land/copernicus/theme/skins/copernicus_theme_templates/main_template.pt +++ b/land/copernicus/theme/skins/copernicus_theme_templates/main_template.pt @@ -2,46 +2,46 @@ - - + tal:define="portal_state context/@@plone_portal_state; + context_state context/@@plone_context_state; + plone_view context/@@plone; + lang portal_state/language; + view nocall:view | nocall: plone_view; + dummy python: plone_view.mark_view(view); + portal_url portal_state/portal_url; + checkPermission nocall: context/portal_membership/checkPermission; + site_properties context/portal_properties/site_properties; + ajax_load request/ajax_load | nothing; + ajax_include_head request/ajax_include_head | nothing; + dummy python:request.RESPONSE.setHeader('X-UA-Compatible', 'IE=edge,chrome=1');" + tal:attributes="lang lang;"> + + Get the global cache headers located in global_cache_settings. - + - - - - - - - -
- - - - Various slots where you can insert elements in the header from a template. - - - - - - - - - + + + + + + + +
+ + + + Various slots where you can insert elements in the header from a template. + + + + + + + + + - -
- -
-
-
-
+ tal:attributes="class body_class; + dir python:isRTL and 'rtl' or 'ltr'"> + +
+ + +
+ + +
-
+
-
+
- -
+ -
+
-
- Status message -
+
- -
- - - Visual Header - - - - -
- - - If you write a custom title always use -

for it -
-

- Generic KSS Title. Is rendered with class="documentFirstHeading". -

-
-
- - - - If you write a custom description always use -
for it -
-
- Generic KSS Description. Is rendered with class="documentDescription". -
-
- -
-
- - Page body text - -
-
- - -
- - - - This slot is here for backwards compatibility only. - Don't use it in your custom templates. - -
- - -
-
+
+ Status message +
- + +
+ + + Visual Header + + + + +
+ + + + If you write a custom title always use +

for it +
+

+ Generic KSS Title. Is rendered with class="documentFirstHeading". +

+
+ +
+ + + + If you write a custom description always use +
for it +
+
+ Generic KSS Description. Is rendered with class="documentDescription". +
+
+ +
+ +
+ + Page body text + +
+
+ + +
+ + + + This slot is here for backwards compatibility only. + Don't use it in your custom templates. + +
+ + +
+
+ +
- - - + class="cell width-1:4 position-0" + metal:define-slot="column_one_slot" + tal:condition="sl" + tal:attributes="class classes/one"> + + +
- - - + class="cell width-1:4 position-3:4" + metal:define-slot="column_two_slot" + tal:condition="sr" + tal:attributes="class classes/two"> + + +
-
-
- - - diff --git a/land/copernicus/theme/static/index.html b/land/copernicus/theme/static/index.html index 7334721f..1e34c35e 100644 --- a/land/copernicus/theme/static/index.html +++ b/land/copernicus/theme/static/index.html @@ -1,177 +1,224 @@ - - - - - Copernicus - The European Earth Observation Programme — Copernicus Land Monitoring Services - - - - - - -
- -
-
- -
- -
- -
- -
-
- - - - - - - -
- You are here: - - - Home - -
- -
-
- - -
-
-
-
-
-
-
- -
-
-

- Copernicus - The European Earth Observation Programme -

- - Print -
-
-
-
-
- - - - -
-

The Copernicus programme comprises satellite-borne earth observation, in-situ data and a services component that combines these in order to provide value added information essential for monitoring the earth's environment.

-

The Copernicus land monitoring service provides geographical information on land cover/land use and on variables related to vegetation state and the water cycle. It supports applications in a variety of domains, such as spatial planning, forest management, water management and agriculture and consists of the above four main components.

- -
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- - User corner - -
- - -
- Ask the service desk -
- -
- Technical library -
- -
- EAGLE Working Group -
- -
- Copernicus Land Newsletter -
- -
- Land use cases -
- -
- News -
- -
- Events -
- -
- Partners -
- -
- Publications -
- -
- - -
- -
-
-
-
-
-
- - - - - + + + + + Copernicus - The European Earth Observation Programme — Copernicus Land Monitoring Services + + + + + + + +
+ + +
+
+ +
+
+
+ +
+
+ + + + + + + +
+ You are here: + + + Home + +
+ +
+
+ + +
+
+
+
+
+
+
+ + +
+
+

+ Copernicus - The European Earth Observation Programme +

+ + Print + +
+
+
+
+ +

The Copernicus programme comprises satellite-borne earth observation, in-situ data and a services component that combines these in order to provide value added information essential for monitoring the earth's environment.

+

The Copernicus land monitoring service provides geographical information on land cover/land use and on variables related to vegetation state and the water cycle. It supports applications in a variety of domains, such as spatial planning, forest management, water management and agriculture and consists of the above four main components.

+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ + User corner + +
+ +
+ + Ask the service desk + +
+ +
+ + Technical library + +
+ +
+ + EAGLE Working Group + +
+ +
+ + Copernicus Land Newsletter + +
+ +
+ + Land use cases + +
+ +
+ News +
+ +
+ Events +
+ +
+ Partners +
+ +
+ Publications +
+ +
+ + +
+ +
+
+
+
+
+
+ + + + + diff --git a/land/copernicus/theme/static/rules.xml b/land/copernicus/theme/static/rules.xml index f68cbb90..767930f5 100644 --- a/land/copernicus/theme/static/rules.xml +++ b/land/copernicus/theme/static/rules.xml @@ -46,6 +46,8 @@ + +