[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - subedit.pt:1.4 meta.zcml:1.5
Albertas Agejevas
alga@codeworks.lt
Fri, 21 Feb 2003 04:45:22 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv16422/app/browser/form
Modified Files:
subedit.pt meta.zcml
Log Message:
Corrected the subedit template to match the style.
=== Zope3/src/zope/app/browser/form/subedit.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/form/subedit.pt:1.3 Thu Jan 16 14:50:28 2003
+++ Zope3/src/zope/app/browser/form/subedit.pt Fri Feb 21 04:45:21 2003
@@ -1,10 +1,11 @@
<div metal:define-macro="formbody">
- <span tal:condition="view/label"
- tal:content="view/label"
- metal:define-slot="heading"
- >
-Edit something
- </span>
+ <h5 metal:define-slot="heading">
+ <a tal:attributes="href context/@@absolute_url"
+ tal:condition="view/label"
+ tal:content="view/label">
+ Edit something
+ </a>
+ </h5>
<p tal:condition="view/fulledit_label">
<a tal:attributes="href
string:${context/@@absolute_url}/${view/fulledit_path}"
=== Zope3/src/zope/app/browser/form/meta.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/form/meta.zcml:1.4 Wed Jan 1 22:00:37 2003
+++ Zope3/src/zope/app/browser/form/meta.zcml Fri Feb 21 04:45:21 2003
@@ -78,7 +78,7 @@
Many views are included in menus. It's convenient to name
the menu in the page directive, rather than having to give a
- separate menuItem directive.
+ separate menuItem directive.
</description>
</attribute>