Ignore:
Timestamp:
27 Feb 2014, 13:01:37 (11 years ago)
Author:
Henrik Bettermann
Message:

Use absolute urls on datacenter pages. Relative links are working in testbrowser but not Firefox. I don't know why.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterfinishedpage.pt

    r11254 r11460  
    1414  <tbody>
    1515    <tr tal:repeat="file context/getFinishedFiles">
    16       <td><a tal:attributes="href python: 'download?filename=' + file.rel_path"
     16      <td><a tal:attributes="href python:  view.url(context)  +
     17                             '/download?filename=' + file.rel_path"
    1718             tal:content="file/name">FILENAME</a></td>
    1819      <td tal:content="python: file.lines-1">12 k</td>
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterpage.pt

    r11254 r11460  
    2626                         tal:attributes="value file/name" />
    2727          </td>
    28           <td><a tal:attributes="href python: 'download?filename=' + file.name"
     28          <td><a tal:attributes="href python: view.url(context) +
     29                                 '/download?filename=' + file.name"
    2930                 tal:content="file/name">FILENAME</a></td>
    3031          <td tal:content="python: file.lines - 1">100</td>
Note: See TracChangeset for help on using the changeset viewer.