Changeset 05a2348 in osmose-frontend


Ignore:
Timestamp:
Jan 22, 2013 10:21:43 PM (7 years ago)
Author:
Jocelyn Jaubert <jocelyn.jaubert@…>
Branches:
master
Children:
7bac0a2
Parents:
8e3a344d
git-author:
Jocelyn Jaubert <jocelyn.jaubert@…> (12/01/2013 22:15:19)
git-committer:
Jocelyn Jaubert <jocelyn.jaubert@…> (22/01/2013 22:21:43)
Message:

Fix links to change language so that query string is kept

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • map.py

    r8e3a344d r05a2348  
    141141        levels=levels, level_selected=level_selected, active_items=active_items, urls=urls, delay=delay, 
    142142        allowed_languages=allowed_languages, translate=utils.translator(lang), 
    143         website=utils.website) 
     143        website=utils.website, request=request) 
    144144 
    145145 
  • views/map/index.tpl

    r8e3a344d r05a2348  
    106106%        s = "" 
    107107%    end 
    108   <li{{!s}}><a href="{{"http://" + website + "/" + l + "/map/"}}">{{l}}</a></li> 
     108  <li{{!s}}><a href="{{"http://" + website + "/" + l + request.path + "?" + request.query_string}}">{{l}}</a></li> 
    109109%end 
    110110</ul> 
Note: See TracChangeset for help on using the changeset viewer.