From bc716e7b2058b3bbcf49b7b5431a1d9e7ed23f02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Wed, 11 Dec 2013 21:38:14 +0100 Subject: [PATCH] =?utf8?q?Ajout=20du=20slot=20=C2=AB=C2=A0body=C2=A0=C2=BB?= =?utf8?q?=20en=20alias=20=C3=A0=20=C2=AB=C2=A0main=5Fno=5Ftabs=C2=A0?= =?utf8?q?=C2=BB=20car=20il=20est=20utile=20pour=20afficher=20les=20pages?= =?utf8?q?=20de=20configuration=20des=20tools=20CMF.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../custom_generic/main_template_standard.pt | 197 +++++++++--------- skins/generic/main_template_ajax.pt | 32 +-- skins/photo_theme/main_template_standard.pt | 2 + 3 files changed, 118 insertions(+), 113 deletions(-) diff --git a/skins/custom_generic/main_template_standard.pt b/skins/custom_generic/main_template_standard.pt index 995ee43..31d94dd 100755 --- a/skins/custom_generic/main_template_standard.pt +++ b/skins/custom_generic/main_template_standard.pt @@ -17,11 +17,11 @@ - - + tal:define="stool nocall:here/portal_syndication" + tal:attributes="title here/title_or_id ; href string:${here/absolute_url}/RSS" + tal:condition="python:stool.isSyndicationAllowed(here)" /> + + @@ -29,46 +29,46 @@ - - + + - - - - - - + + + + + +
Top bar
User menu bar
@@ -101,59 +101,60 @@
-
- Left cell + + Left cell -
- Information - Status message. -
- - -
-
special context header
-
-
Content tabs
-
Additional tabs
-
-
-
-
-

- Page Title -

-
- Description of the resource goes here, perhaps even wrapping lines; this is to make it long enough to test. -
-
-
- -
-
-

Section Header

-

The content of the object is rendered - hre. Lorem ipsum dolorem. Nihil obstat imprimatur. Semper ubi sub ubi. - Non illegitimi carborundum. In vino veritas. E pluribus unam. -

-
-
+
+ Information + Status message. +
+ + +
+
+
special context header
+
+
Content tabs
+
Additional tabs
+
+
+
+
+

+ Page Title +

+
+ Description of the resource goes here, perhaps even wrapping lines; this is to make it long enough to test. +
+
+
+ +
+
+

Section Header

+

The content of the object is rendered + hre. Lorem ipsum dolorem. Nihil obstat imprimatur. Semper ubi sub ubi. + Non illegitimi carborundum. In vino veritas. E pluribus unam. +

+
+
Content by me
-
footer slot
-
-
- +
footer slot
+
+
+
-
Right cell
+
Right cell
diff --git a/skins/generic/main_template_ajax.pt b/skins/generic/main_template_ajax.pt index f424b43..3301bb6 100644 --- a/skins/generic/main_template_ajax.pt +++ b/skins/generic/main_template_ajax.pt @@ -1,23 +1,24 @@ - - + + - +
Information Status message.
+
special context header
-
-
Content tabs
-
Additional tabs
-
+
+
Content tabs
+
Additional tabs
+
@@ -47,17 +48,18 @@
footer slot
+
- - - - - + fragments python:(browserObjectUrl and browserObjectUrl != here.absolute_url()) and ['Breadcrumbs', 'rightCell'] or request.get('syncFragments', []);" + condition="fragments"> + + + + + \ No newline at end of file diff --git a/skins/photo_theme/main_template_standard.pt b/skins/photo_theme/main_template_standard.pt index 18a8971..d157ba1 100755 --- a/skins/photo_theme/main_template_standard.pt +++ b/skins/photo_theme/main_template_standard.pt @@ -121,6 +121,7 @@
+
special context header
@@ -156,6 +157,7 @@
footer slot
+
-- 2.20.1