Ignore:
Timestamp:
28/04/09 13:57:52 (11 years ago)
Author:
cbyrom
Message:

Add functionality to add new repository info data to provider info
records + properly escape/unescape provider name when passing via url.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/OAIInfoEditor/oai_info_editor/templates/home.html

    r5235 r5236  
    66        <head> 
    77        <title py:content="c.title">title</title> 
    8         <?python import oai_info_editor.lib.constants as constants        ?> 
     8        <?python  
     9import oai_info_editor.lib.constants as constants 
     10import urllib 
     11        ?> 
    912            <script py:if="c.popupMessage" type="text/javascript"> 
    1013                        window.onload = alert('$c.popupMessage'); 
     
    2730                              <tr py:for="pi in c.providerInfos"> 
    2831                                <td> 
    29                                         <a href="${h.url_for('viewProviderInfo', providerName = pi.name)}">${Markup(pi.name)}</a> 
     32                                        <a href="${h.url_for('viewProviderInfo', providerName = urllib.quote(pi.name))}">${Markup(pi.name)}</a> 
    3033                                </td> 
    3134                              </tr> 
Note: See TracChangeset for help on using the changeset viewer.