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/provider_info.html

    r5235 r5236  
    99                import oai_info_editor.lib.constants as constants 
    1010                import oai_info_editor.model.providerinfo as PI 
     11                import urllib 
    1112        ?> 
    1213 
     
    2728                <span py:if="editLink">  
    2829                        <td> 
    29                         <a href="${'%s%s' %(c.editLink, record.name)}" onclick="Div_show('loading');">Edit</a> 
     30                        <a href="${'%s%s' %(c.editLink, urllib.quote(record.name))}" onclick="Div_show('loading');">Edit</a> 
    3031                        </td> 
    3132                        <td py:if="c.user.isAdmin"> 
    32                         <a href="${'%s%s' %(c.deleteLink, record.name)}" onclick="Div_show('loading');">Delete</a> 
     33                        <a href="${'%s%s' %(c.deleteLink, urllib.quote(record.name))}" onclick="Div_show('loading');">Delete</a> 
    3334                        </td> 
    3435                        <td py:if="not c.user.isAdmin" /> 
Note: See TracChangeset for help on using the changeset viewer.