Mercurial > p > roundup > code
comparison templates/minimal/html/user.item.html @ 3994:030ba81511ee
Fix HTML injection into page title; also some other TAL cleanup
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 18 Aug 2008 06:37:15 +0000 |
| parents | 7e445a063979 |
| children |
comparison
equal
deleted
inserted
replaced
| 3993:1eba65a4b0aa | 3994:030ba81511ee |
|---|---|
| 2 <tal:doc metal:use-macro="templates/page/macros/icing" | 2 <tal:doc metal:use-macro="templates/page/macros/icing" |
| 3 define="edit_ok context/is_edit_ok" | 3 define="edit_ok context/is_edit_ok" |
| 4 > | 4 > |
| 5 <title metal:fill-slot="head_title"> | 5 <title metal:fill-slot="head_title"> |
| 6 <tal:if condition="context/id" i18n:translate="" | 6 <tal:if condition="context/id" i18n:translate="" |
| 7 >User <span tal:replace="context/id" i18n:name="id" | 7 >User <tal:x content="context/id" i18n:name="id" |
| 8 />: <span tal:replace="context/username" i18n:name="title" | 8 />: <tal:x content="context/username" i18n:name="title" |
| 9 /> - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker" | 9 /> - <tal:x content="config/TRACKER_NAME" i18n:name="tracker" |
| 10 /></tal:if> | 10 /></tal:if> |
| 11 <tal:if condition="not:context/id" i18n:translate="" | 11 <tal:if condition="not:context/id" i18n:translate="" |
| 12 >New User - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker" | 12 >New User - <span tal:replace="config/TRACKER_NAME" i18n:name="tracker" |
| 13 /></tal:if> | 13 /></tal:if> |
| 14 </title> | 14 </title> |
