File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 33 < link rel ="stylesheet " type ="text/css " href ="@@file/style.css " />
44 < meta http-equiv ="Content-Type "
55 tal:attributes ="content string:text/html;; charset=${request/client/charset} " />
6- < tal:block tal:condition ="python:request.form.has_key( 'property') ">
6+ < tal:block tal:condition ="python:'property' in request.form ">
77 < title > Generic submit page for framed helper windows</ title >
88 < script language ="Javascript " type ="text/javascript "
99 tal:content ="structure string:<!--
Original file line number Diff line number Diff line change 44 < link rel ="stylesheet " type ="text/css " href ="@@file/style.css " />
55 < meta http-equiv ="Content-Type "
66 tal:attributes ="content string:text/html;; charset=${request/client/charset} " />
7- < tal:block tal:condition ="python:request.form.has_key( 'property') ">
7+ < tal:block tal:condition ="python:'property' in request.form ">
88 < tal:block tal:define ="property request/form/property/value ">
99 < title i18n:translate =""> < tal:x i18n:name ="property "
1010 tal:content ="property " i18n:translate ="" /> help - < span i18n:name ="tracker "
@@ -27,7 +27,7 @@ <h1 id="logoheader">
2727< div id ="content-body ">
2828< div id ="content ">
2929< div id ="breadcrumb "> Python Issue Tracker: Help - < tal:block tal:content ="context/classname "> item</ tal:block > </ div >
30- < tal:block tal:condition ="python:request.form.has_key( 'property') ">
30+ < tal:block tal:condition ="python:'property' in request.form ">
3131 < form name ="frm_help " action ="# "
3232 tal:define ="batch request/batch;
3333 props python:request.form['properties'].value.split(',') ">
@@ -104,7 +104,7 @@ <h1 id="logoheader">
104104
105105 </ form >
106106 </ tal:block >
107- < tal:block tal:condition ="python:not request.form.has_key('property') ">
107+ < tal:block tal:condition ="python:'property' not in request.form ">
108108 < tal:block tal:define ="batch request/batch;
109109 props python:request.form['properties'].value.split(',') ">
110110 < table width ="100% ">
Original file line number Diff line number Diff line change 3939 < input type ="hidden " name ="@template " value ="item ">
4040 < input type ="hidden " name ="@required " value ="name,type ">
4141 < input type ="hidden " name ="@multilink "
42- tal:condition ="python:request.form.has_key( '@multilink') "
42+ tal:condition ="python:'@multilink' in request.form "
4343 tal:attributes ="value request/form/@multilink/value ">
4444 </ td >
4545 < td tal:content ="structure context/submit "> submit button here</ td >
Original file line number Diff line number Diff line change 55 i18n:translate =""> Password reset request</ span >
66< td class ="content " metal:fill-slot ="content ">
77
8- < tal:askforinfo tal:condition ="python:options['error_message'] or not request.form.has_key('@action') ">
8+ < tal:askforinfo tal:condition ="python:options['error_message'] or
9+ '@action' not in request.form ">
910
1011< p i18n:translate =""> You have two options if you have forgotten your password.
1112If you know the email address you registered with, enter it below.</ p >
Original file line number Diff line number Diff line change 88 < link rel ="stylesheet " type ="text/css " href ="@@file/style.css " />
99 < meta http-equiv ="Content-Type "
1010 tal:attributes ="content string:text/html;; charset=${request/client/charset} " />
11- < tal:block tal:condition ="python:request.form.has_key( 'property') ">
11+ < tal:block tal:condition ="python:'property' in request.form ">
1212 < title > < tal:x i18n:translate =""> < tal:x i18n:name ="property "
1313 tal:content ="property " i18n:translate ="" /> help - < span i18n:name ="tracker "
1414 tal:replace ="config/TRACKER_NAME " /> </ tal:x > </ title >
You can’t perform that action at this time.
0 commit comments