1- < tal:block metal:define-macro =" icing " > < !-- ££££µµµµ vim:sw=2 ts =2
2- --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN "
3- "http://www.w3.org/TR/html4/strict.dtd">
1+ <!-- vim:sw=2 sts =2
2+ --> < tal:block metal:define-macro =" icing "
3+ > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
44< html >
55< head >
66< title metal:define-slot ="head_title "> title goes here</ title >
77< link rel ="stylesheet " type ="text/css " href ="@@file/style.css ">
88< meta http-equiv ="Content-Type "
9- tal:attributes ="content string:text/html;; charset=${request/client/charset} " />
9+ tal:attributes ="content string:text/html; charset=${request/client/charset} " />
1010< script tal:replace ="structure request/base_javascript ">
1111</ script >
1212< metal:x define-slot ="more-javascript " />
@@ -52,7 +52,7 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
5252 < span i18n:translate =""
5353 > < b > Your Queries</ b > (< a href ="query?@template=edit "> edit</ a > )</ span > < br >
5454 < tal:block tal:repeat ="qs request/user/queries ">
55- < a tal:attributes ="href string:${qs/klass}?${qs/url}&@dispname=${qs/name} "
55+ < a href =" # " tal:attributes ="href string:${qs/klass}?${qs/url}&@dispname=${qs/name} "
5656 tal:content ="qs/name "> link</ a > < br >
5757 </ tal:block >
5858 </ p >
@@ -64,29 +64,27 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
6464 < span tal:condition ="python:request.user.hasPermission('Create', 'issue') ">
6565 < a href ="issue?@template=item " i18n:translate =""> Create New</ a > < br >
6666 </ span >
67- < a href ="# "
68- tal:define ="txt python:i18n.gettext('Show Unassigned') "
67+ < a href ="# "
6968 tal:attributes ="href python:request.indexargs_url('issue', {
7069 '@sort': '-activity',
7170 '@group': 'priority',
7271 '@filter': 'status,assignedto',
7372 '@columns': columns,
7473 'status': status_notresolved,
7574 'assignedto': '-1',
76- '@dispname': txt ,
75+ '@dispname': i18n.gettext('Show Unassigned') ,
7776 }) "
78- tal:content =" txt "> Show Unassigned</ a > < br >
77+ i18n:translate =" "> Show Unassigned</ a > < br >
7978 < a href ="# "
80- tal:define ="txt python:i18n.gettext('Show All') "
8179 tal:attributes ="href python:request.indexargs_url('issue', {
8280 '@sort': '-activity',
8381 '@group': 'priority',
8482 '@filter': 'status',
8583 '@columns': columns_showall,
8684 'status': status_notresolved,
87- '@dispname': txt ,
85+ '@dispname': i18n.gettext('Show All') ,
8886 }) "
89- tal:content =" txt "> Show All</ a > < br >
87+ i18n:translate =" "> Show All</ a > < br >
9088 < a href ="issue?@template=search " i18n:translate =""> Search</ a > < br >
9189 < input type ="submit " class ="form-small " value ="Show issue: "
9290 i18n:attributes ="value "> < input class ="form-small " size ="4 "
@@ -143,10 +141,10 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
143141 < p class ="userblock " tal:condition ="python:request.user.username != 'anonymous' ">
144142 < b i18n:translate =""> Hello, < span i18n:name ="user "
145143 tal:replace ="request/user/username "> username</ span > </ b > < br >
146- < 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 >
147- < a tal:attributes ="href string:user${request/user/id} "
144+ < 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 >
145+ < a href =" # " tal:attributes ="href string:user${request/user/id} "
148146 i18n:translate =""> Your Details</ a > < br >
149- < a tal:attributes ="href python:request.indexargs_url('',
147+ < a href =" # " tal:attributes ="href python:request.indexargs_url('',
150148 {'@action':'logout'}) " i18n:translate =""> Logout</ a >
151149 </ p >
152150 < p class ="userblock ">
@@ -315,7 +313,7 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
315313
316314See user.item.html in the classic template for examples.
317315-->
318- < script metal:define-macro ="user_utils " type ="text/javascript " src ="@@file/user_utils.js "> </ script >
316+ < script metal:define-macro ="user_utils " type ="text/javascript " src ="@@file/user_utils.js "> </ script >
319317
320318<!-- src: value will be re-used for other input fields -->
321319< input metal:define-macro ="user_src_input "
@@ -329,4 +327,4 @@ <h2><span metal:define-slot="body_title">body title</span></h2>
329327<!-- password: type; no initial value -->
330328 < input metal:define-macro ="user_pw_input " type ="password "
331329 tal:attributes ="id name; name name; readonly not:edit_ok " value ="">
332-
330+
0 commit comments