Skip to content

Commit 49ca888

Browse files
author
Alexander Smishlajev
committed
tracker name added to the page title;
mark page and body titles for translation
1 parent c84b2d9 commit 49ca888

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed
Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
<tal:block metal:use-macro="templates/page/macros/icing">
2-
<title metal:fill-slot="head_title"
3-
tal:content="python:context._classname.capitalize()+' Edit Collision'"></title>
4-
<span metal:fill-slot="body_title" tal:omit-tag="python:1"
5-
tal:content="python:context._classname.capitalize()+' Edit Collision'"></span>
6-
<td class="content" metal:fill-slot="content" i18n:translate="
7-
There has been a collision. Another user updated this node
8-
while you were editing. Please <a href='${context}'>reload</a>
9-
the node and review your edits.
10-
"><span tal:replace="context/designator" i18n:name="context" />
11-
</td>
12-
</tal:block>
2+
<title metal:fill-slot="head_title" i18n:translate=""
3+
><span tal:replace="python:context._classname.capitalize()"
4+
i18n:name="class" /> Edit Collision - <span i18n:name="tracker"
5+
tal:replace="config/TRACKER_NAME" /></title>
6+
<tal:block metal:fill-slot="body_title" i18n:translate=""
7+
><span tal:replace="python:context._classname.capitalize()"
8+
i18n:name="class" /> Edit Collision</tal:block>
139

10+
<td class="content" metal:fill-slot="content" i18n:translate="
11+
There has been a collision. Another user updated this node
12+
while you were editing. Please <a href='${context}'>reload</a>
13+
the node and review your edits.
14+
"><span tal:replace="context/designator" i18n:name="context" />
15+
</td>
16+
</tal:block>

0 commit comments

Comments
 (0)