Mercurial > p > roundup > code
diff templates/classic/html/page.html @ 3712:6c35e658c2c6
i18n:translate again; some additional href="#"s
| author | Tobias Herp <tobias-herp@users.sourceforge.net> |
|---|---|
| date | Tue, 19 Sep 2006 07:05:17 +0000 |
| parents | ba2eeadeed69 |
| children | 4cbbf9210edd |
line wrap: on
line diff
--- a/templates/classic/html/page.html Mon Sep 18 03:24:38 2006 +0000 +++ b/templates/classic/html/page.html Tue Sep 19 07:05:17 2006 +0000 @@ -1,12 +1,12 @@ -<tal:block metal:define-macro="icing"><!-- ££££µµµµ vim:sw=2 ts=2 ---><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" - "http://www.w3.org/TR/html4/strict.dtd"> +<!-- vim:sw=2 sts=2 +--><tal:block metal:define-macro="icing" +><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title metal:define-slot="head_title">title goes here</title> <link rel="stylesheet" type="text/css" href="@@file/style.css"> <meta http-equiv="Content-Type" - tal:attributes="content string:text/html;; charset=${request/client/charset}" /> + tal:attributes="content string:text/html; charset=${request/client/charset}" /> <script tal:replace="structure request/base_javascript"> </script> <metal:x define-slot="more-javascript" /> @@ -52,7 +52,7 @@ <span i18n:translate="" ><b>Your Queries</b> (<a href="query?@template=edit">edit</a>)</span><br> <tal:block tal:repeat="qs request/user/queries"> - <a tal:attributes="href string:${qs/klass}?${qs/url}&@dispname=${qs/name}" + <a href="#" tal:attributes="href string:${qs/klass}?${qs/url}&@dispname=${qs/name}" tal:content="qs/name">link</a><br> </tal:block> </p> @@ -64,8 +64,7 @@ <span tal:condition="python:request.user.hasPermission('Create', 'issue')"> <a href="issue?@template=item" i18n:translate="">Create New</a><br> </span> - <a href="#" - tal:define="txt python:i18n.gettext('Show Unassigned')" + <a href="#" tal:attributes="href python:request.indexargs_url('issue', { '@sort': '-activity', '@group': 'priority', @@ -73,20 +72,19 @@ '@columns': columns, 'status': status_notresolved, 'assignedto': '-1', - '@dispname': txt, + '@dispname': i18n.gettext('Show Unassigned'), })" - tal:content="txt">Show Unassigned</a><br> + i18n:translate="">Show Unassigned</a><br> <a href="#" - tal:define="txt python:i18n.gettext('Show All')" tal:attributes="href python:request.indexargs_url('issue', { '@sort': '-activity', '@group': 'priority', '@filter': 'status', '@columns': columns_showall, 'status': status_notresolved, - '@dispname': txt, + '@dispname': i18n.gettext('Show All'), })" - tal:content="txt">Show All</a><br> + i18n:translate="">Show All</a><br> <a href="issue?@template=search" i18n:translate="">Search</a><br> <input type="submit" class="form-small" value="Show issue:" i18n:attributes="value"><input class="form-small" size="4" @@ -143,10 +141,10 @@ <p class="userblock" tal:condition="python:request.user.username != 'anonymous'"> <b i18n:translate="">Hello, <span i18n:name="user" tal:replace="request/user/username">username</span></b><br> - <a tal:attributes="href string:issue?@sort=-activity&@group=priority&@filter=status,assignedto&@columns=id,activity,title,creator,status&status=-1,1,2,3,4,5,6,7&assignedto=${request/user/id}" i18n:translate="">Your Issues</a><br> - <a tal:attributes="href string:user${request/user/id}" + <a href="#" tal:attributes="href string:issue?@sort=-activity&@group=priority&@filter=status,assignedto&@columns=id,activity,title,creator,status&status=-1,1,2,3,4,5,6,7&assignedto=${request/user/id}" i18n:translate="">Your Issues</a><br> + <a href="#" tal:attributes="href string:user${request/user/id}" i18n:translate="">Your Details</a><br> - <a tal:attributes="href python:request.indexargs_url('', + <a href="#" tal:attributes="href python:request.indexargs_url('', {'@action':'logout'})" i18n:translate="">Logout</a> </p> <p class="userblock"> @@ -315,7 +313,7 @@ See user.item.html in the classic template for examples. --> -<script metal:define-macro="user_utils" type="text/javascript" src="@@file/user_utils.js"></script> +<script metal:define-macro="user_utils" type="text/javascript" src="@@file/user_utils.js"></script> <!-- src: value will be re-used for other input fields --> <input metal:define-macro="user_src_input" @@ -329,4 +327,4 @@ <!-- password: type; no initial value --> <input metal:define-macro="user_pw_input" type="password" tal:attributes="id name; name name; readonly not:edit_ok" value=""> - +
