diff templates/minimal/html/_generic.item.html @ 2443:56fa27e99620

copied from classic template set
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Fri, 11 Jun 2004 09:36:18 +0000
parents e323c2d54a17
children 60b2b9f55174
line wrap: on
line diff
--- a/templates/minimal/html/_generic.item.html	Fri Jun 11 09:35:44 2004 +0000
+++ b/templates/minimal/html/_generic.item.html	Fri Jun 11 09:36:18 2004 +0000
@@ -1,8 +1,12 @@
 <tal:block metal:use-macro="templates/page/macros/icing">
-<title metal:fill-slot="head_title"
-       tal:content="python:context._classname.capitalize()+' editing'"></title>
-<span metal:fill-slot="body_title" tal:omit-tag="python:1"
-      tal:content="python:context._classname.capitalize()+' editing'"></span>
+<title metal:fill-slot="head_title" i18n:translate=""
+ ><span tal:replace="python:context._classname.capitalize()"
+ i18n:name="class" /> editing - <span i18n:name="tracker"
+ tal:replace="config/TRACKER_NAME" /></title>
+<tal:block metal:fill-slot="body_title" i18n:translate=""
+ ><span tal:replace="python:context._classname.capitalize()"
+ i18n:name="class" /> editing</tal:block>
+
 <td class="content" metal:fill-slot="content">
 
 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())"
@@ -10,7 +14,8 @@
 >You are not allowed to view this page.</span>
 
 <form method="POST" onSubmit="return submit_once()"
-      enctype="multipart/form-data" tal:condition="context/is_edit_ok">
+      enctype="multipart/form-data" tal:condition="context/is_edit_ok"
+      tal:attributes="action context/designator">
 
 <input type="hidden" name="@template" value="item">
 

Roundup Issue Tracker: http://roundup-tracker.org/