- Timestamp:
- 6 Feb 2014, 08:56:52 (11 years ago)
- Location:
- main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser
- Files:
-
- 46 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/datacenterexportpage.pt
r11040 r11059 77 77 <a href="" class="btn btn-default btn-xs" i18n:translate="" 78 78 tal:condition="job/show_refresh_button"> 79 <img tal:attributes="src static/actionicon_reload.png" />79 <img src="/static/img/actionicon_reload.png" /> 80 80 Reload 81 81 </a> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/templates/reportscontainerpage.pt
r11025 r11059 39 39 <a href="" class="btn btn-sm btn-default" i18n:translate="" 40 40 tal:condition="python: entry[5]"> 41 <img tal:attributes="src static/actionicon_reload.png" />41 <img src="/static/img/actionicon_reload.png" /> 42 42 Reload 43 43 </a> -
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/viewlets.py
r10782 r11059 124 124 """Get the icon URL. 125 125 """ 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 142 127 143 128 @property
Note: See TracChangeset for help on using the changeset viewer.