Changeset 5194


Ignore:
Timestamp:
15/04/09 09:33:36 (10 years ago)
Author:
cbyrom
Message:

Remove url escaping in templates, since this is now handled by data
model, and fix typo.

Location:
MILK/trunk/milk_server/milk_server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/controllers/browse/retrieve.py

    r5158 r5194  
    141141            session.save() 
    142142                 
    143             logging.info("- %s data retdrieved - now rendering" %type) 
     143            logging.info("- %s data retrieved - now rendering" %type) 
    144144 
    145145            return self.__renderModel(self.ndgDoc) 
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_functions.html

    r5176 r5194  
    504504                        <?python 
    505505                                from ndg.common.src.models.Atom import Atom as a 
    506                                 import urllib 
    507506                                refLabel = a.ONLINE_REF_LABEL + "." 
    508507                                remLabel = "." + a.REMOVE_LABEL 
     
    518517                    <tr py:for="i, link in enumerate(links)"> 
    519518                            <?python 
    520                         # unescape the urls 
    521                         link.href = urllib.unquote(link.href) 
    522519                        # get the default display value type 
    523520                        try: 
Note: See TracChangeset for help on using the changeset viewer.