Changeset 11059 for main


Ignore:
Timestamp:
6 Feb 2014, 08:56:52 (11 years ago)
Author:
Henrik Bettermann
Message:

Move all images into layout folder.

Location:
main/waeup.kofa/branches/uli-diazo-themed
Files:
36 added
46 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/applicants/browser_templates/exportjobsindex.pt

    r11040 r11059  
    3434        <a href="" class="btn btn-default btn-xs" i18n:translate=""
    3535           tal:condition="job/show_refresh_button">
    36           <img tal:attributes="src static/actionicon_reload.png" />
     36          <img src="/static/img/actionicon_reload.png" />
    3737          Reload
    3838        </a>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterexportpage.pt

    r11040 r11059  
    7777        <a href="" class="btn btn-default btn-xs" i18n:translate=""
    7878           tal:condition="job/show_refresh_button">
    79           <img tal:attributes="src static/actionicon_reload.png" />
     79          <img src="/static/img/actionicon_reload.png" />
    8080          Reload
    8181        </a>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/reportscontainerpage.pt

    r11025 r11059  
    3939          <a href="" class="btn btn-sm btn-default" i18n:translate=""
    4040             tal:condition="python: entry[5]">
    41             <img tal:attributes="src static/actionicon_reload.png" />
     41            <img src="/static/img/actionicon_reload.png" />
    4242            Reload
    4343          </a>
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/viewlets.py

    r10782 r11059  
    124124        """Get the icon URL.
    125125        """
    126         static = self.view.static
    127         if static is None or static.get(self.icon, None) is None:
    128             # In derived classes defined in other modules/packages
    129             # than w.k.browser, ``static`` might refer to a static dir
    130             # local to the derived class' module. As we often like to
    131             # get the icons from here
    132             # (i.e. waeup.kofa.browser/static), we set the directory
    133             # resource appropiately.
    134             #
    135             # XXX: The hardcoding of 'w.k.browser' should be replaced
    136             #      by something smarter.
    137             #
    138             # TODO: notes in here should go to general documentation.
    139             static = queryAdapter(
    140                 self.request, Interface, name='waeup.kofa.browser')
    141         return static[self.icon]()
     126        return '/static/img/%s' % self.icon
    142127
    143128    @property
  • main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/students/browser_templates/exportjobsindex.pt

    r11040 r11059  
    3434        <a href="" class="btn btn-default" i18n:translate=""
    3535           tal:condition="job/show_refresh_button">
    36           <img tal:attributes="src static/actionicon_reload.png" />
     36          <img src="/static/img/actionicon_reload.png" />
    3737          Reload
    3838        </a>
Note: See TracChangeset for help on using the changeset viewer.