[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/onlinehelp/browser/
Reformatted templates. Added i18n:domain.
Dmitry Vasiliev
dima at hlabs.spb.ru
Tue Jul 5 08:20:12 EDT 2005
Log message for revision 31000:
Reformatted templates. Added i18n:domain.
Changed:
D Zope3/trunk/src/zope/app/onlinehelp/browser/contexthelp.pt
U Zope3/trunk/src/zope/app/onlinehelp/browser/helptopic.pt
U Zope3/trunk/src/zope/app/onlinehelp/browser/onlinehelp_macros.pt
U Zope3/trunk/src/zope/app/onlinehelp/browser/onlinehelp_navigation_macros.pt
U Zope3/trunk/src/zope/app/onlinehelp/browser/topiclink.pt
-=-
Deleted: Zope3/trunk/src/zope/app/onlinehelp/browser/contexthelp.pt
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/browser/contexthelp.pt 2005-07-05 11:00:16 UTC (rev 30999)
+++ Zope3/trunk/src/zope/app/onlinehelp/browser/contexthelp.pt 2005-07-05 12:20:12 UTC (rev 31000)
@@ -1,18 +0,0 @@
-<html metal:use-macro="views/onlinehelp_macros/page">
-<head><!--
- <title metal:fill-slot="title"
- tal:content="view/contextHelpTopic/title"
- i18n:translate="">Title</title>-->
-</head>
-<body>
-
-<div metal:fill-slot="body">
-<!--
- <p tal:content="structure view/topicContent"
- i18n:translate="">Content of Online Help.</p>
--->
-</div>
-
-</body>
-</html>
-
Modified: Zope3/trunk/src/zope/app/onlinehelp/browser/helptopic.pt
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/browser/helptopic.pt 2005-07-05 11:00:16 UTC (rev 30999)
+++ Zope3/trunk/src/zope/app/onlinehelp/browser/helptopic.pt 2005-07-05 12:20:12 UTC (rev 31000)
@@ -1,6 +1,6 @@
-<html metal:use-macro="views/onlinehelp_macros/page">
+<html metal:use-macro="views/onlinehelp_macros/page" i18n:domain="zope">
<head>
- <title metal:fill-slot="title"
+ <title metal:fill-slot="title"
tal:content="context/title"
i18n:translate="">Title</title>
</head>
@@ -15,5 +15,3 @@
</body>
</html>
-
-
Modified: Zope3/trunk/src/zope/app/onlinehelp/browser/onlinehelp_macros.pt
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/browser/onlinehelp_macros.pt 2005-07-05 11:00:16 UTC (rev 30999)
+++ Zope3/trunk/src/zope/app/onlinehelp/browser/onlinehelp_macros.pt 2005-07-05 12:20:12 UTC (rev 31000)
@@ -1,4 +1,7 @@
-<metal:block define-macro="page"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:block>
+<metal:block define-macro="page">
+<metal:block define-slot="doctype">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+</metal:block>
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"
@@ -37,27 +40,27 @@
<body onload="buildTrees();">
- <div class="headline">
- <div class="title">Onlinehelp</div>
- </div>
+ <div class="headline">
+ <div class="title" i18n:translate="">Onlinehelp</div>
+ </div>
- <!-- get rid of the crapy divs where place the content below the tree box
- if somebody has a better solution, fell free the change it.
- But I don't whana see the content below the navigation box. -->
- <table class="layout" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td class="navigation" nowrap="nowrap">
- <metal:block define-slot="navigation ">
- <metal:navigation use-macro="views/onlinehelp_navigation_macros/navigation" />
- </metal:block>
- </td>
- <td class="content">
- <metal:block define-slot="body">
- content
- </metal:block>
- </td>
- </tr>
- </table>
+ <!-- get rid of the crapy divs where place the content below the tree box
+ if somebody has a better solution, fell free the change it.
+ But I don't whana see the content below the navigation box. -->
+ <table class="layout" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="navigation" nowrap="nowrap">
+ <metal:block define-slot="navigation ">
+ <metal:navigation use-macro="views/onlinehelp_navigation_macros/navigation" />
+ </metal:block>
+ </td>
+ <td class="content">
+ <metal:block define-slot="body">
+ content
+ </metal:block>
+ </td>
+ </tr>
+ </table>
<div id="footer" metal:define-macro="footer" />
@@ -66,4 +69,3 @@
</html>
</metal:block>
-
Modified: Zope3/trunk/src/zope/app/onlinehelp/browser/onlinehelp_navigation_macros.pt
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/browser/onlinehelp_navigation_macros.pt 2005-07-05 11:00:16 UTC (rev 30999)
+++ Zope3/trunk/src/zope/app/onlinehelp/browser/onlinehelp_navigation_macros.pt 2005-07-05 12:20:12 UTC (rev 31000)
@@ -1,16 +1,7 @@
-<html>
-<body>
-
<metal:navigation define-macro="navigation">
- <div class="box" tal:define="topicList views/getTopicTree">
- <div class="title">
- <div i18n:translate="onlinehelp_navigation_box_title">Topics</div>
- </div>
-
- <tal:block content="structure views/getTopicTree">tree</tal:block>
-
- </div>
+ <div class="box" tal:define="topicList views/getTopicTree"
+ i18n:domain="zope">
+ <div class="title" i18n:translate="">Topics</div>
+ <tal:block content="structure views/getTopicTree">tree</tal:block>
+ </div>
</metal:navigation>
-
-</body>
-</html>
Modified: Zope3/trunk/src/zope/app/onlinehelp/browser/topiclink.pt
===================================================================
--- Zope3/trunk/src/zope/app/onlinehelp/browser/topiclink.pt 2005-07-05 11:00:16 UTC (rev 30999)
+++ Zope3/trunk/src/zope/app/onlinehelp/browser/topiclink.pt 2005-07-05 12:20:12 UTC (rev 31000)
@@ -1,4 +1,4 @@
-<div class="menu" tal:repeat="item view/listHelpItems">
+<div class="menu" tal:repeat="item view/listHelpItems" i18n:domain="zope">
<a href=""
tal:attributes="href item/path"
tal:content="item/title"
More information about the Zope3-Checkins
mailing list