[wiki/theme] Des icones aux bonnes dimensions

This commit is contained in:
Antoine Durand-gasselin 2013-10-30 10:11:41 +01:00
parent 667e065ed1
commit a0778565c5
2 changed files with 90 additions and 0 deletions

View file

@ -7,6 +7,7 @@
"""
from MoinMoin.theme import ThemeBase
import crans # C'est le thème crans que l'import
class Theme(ThemeBase):
@ -44,6 +45,7 @@ class Theme(ThemeBase):
u'valid_html401_80x15.gif', u'Valid HTML 4.01'),
]
icons = crans.Theme.icons
def img_url(self, img):
return "%s/crans/img/%s" % (self.cfg.url_prefix_static, img)