mirror of https://github.com/ae-utbm/sith3.git
com: add weekmail banner and footer for A19
This commit is contained in:
parent
824ea37f44
commit
66d5c71a92
|
@ -194,10 +194,10 @@ class Weekmail(models.Model):
|
|||
).content.decode("utf-8")
|
||||
|
||||
def get_banner(self):
|
||||
return "http://" + settings.SITH_URL + static("com/img/weekmail_bannerA18.jpg")
|
||||
return "http://" + settings.SITH_URL + static("com/img/weekmail_bannerA19.jpg")
|
||||
|
||||
def get_footer(self):
|
||||
return "http://" + settings.SITH_URL + static("com/img/weekmail_footerA18.jpg")
|
||||
return "http://" + settings.SITH_URL + static("com/img/weekmail_footerA19.jpg")
|
||||
|
||||
def __str__(self):
|
||||
return "Weekmail %s (sent: %s) - %s" % (self.id, self.sent, self.title)
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue