Ignore:
Timestamp:
Sep 14, 2007 3:25:40 PM (17 years ago)
Author:
crchemist
Message:

Remove from templates uncorrect symbols.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qPloneGoogleSitemaps/trunk/skins/qPloneGoogleSitemaps/prefs_gsm_verification.cpt

    r51 r960  
    88    <div metal:fill-slot="prefs_configlet_main" 
    99        tal:define="errors python:request.get('errors', {}); 
    10                     props portal/portal_properties/googlesitemap_properties"> 
     10                    view here/@@sitemap_settings;"> 
    1111 
    1212        <div class="documentEditable"> 
     
    3030                </li> 
    3131 
    32                 <li class=""> 
    33                 <a href="" 
    34                     tal:attributes="href string: prefs_gsm_pinging" 
    35                     i18n:translate="label_logs">Pinging</a> 
    36                 </li> 
    37  
    3832            </ul> 
    3933 
     
    5044                </a> 
    5145 
    52                 <form tal:define="file_provided props/verification_filename; 
    53                                   step1 python:test(file_provided, 'discreet', ''); 
    54                                   step2 python:test(not file_provided, 'discreet', '')"> 
     46                <form tal:define="vfiles view/getVerificationFiles; 
     47                                  step1 python:test(vfiles, 'discreet', ''); 
     48                                  step2 python:test(not vfiles, 'discreet', '')"> 
    5549                    <ol> 
    5650                        <li tal:attributes="class step1"> 
     
    6155                        </li> 
    6256                        <li tal:attributes="class step1">Provide verification file name: 
    63                             <p><input name="verify_filename" id="verify_filename" type="text" 
    64                                 tal:attributes="value props/verification_filename; 
    65                                                 disabled step1" 
    66                             ></p> 
     57                            <p><input name="verify_filename" id="verify_filename" type="text"></p> 
    6758                        </li> 
    6859                        <li tal:attributes="class step1"> 
    69                                 <input name="form.button.CreateFile" id="create_file" type="submit" value="Create verification file" 
    70                                 tal:attributes="disabled step1"/> 
     60                                <input name="form.button.CreateFile" id="create_file" type="submit" value="Create verification file"/> 
    7161                                <input type="hidden" name="form.submitted" value="1" /> 
    7262                        </li> 
     
    7868                        </li> 
    7969                        <li class="discreet" 
    80                             tal:attributes="class step2"><input name="form.button.DeleteFile" id="remove_file" type="submit" value="Remove verification file" 
    81                             tal:attributes="disabled step2; 
    82                                             value string:Remove ${file_provided} verifivation file"/> 
     70                            tal:attributes="class step2" 
     71                            tal:condition="vfiles"> 
     72                            <strong>Existent verification files:</strong> 
     73                            <ul><li tal:repeat="vf vfiles" 
     74                                    tal:content="vf">verification file id 
     75                            </li></ul> 
    8376                        </li> 
    8477                    </ol> 
Note: See TracChangeset for help on using the changeset viewer.