mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 02:54:20 +00:00
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)
|
||||
|
BIN
core/static/com/img/weekmail_bannerA19.jpg
Normal file
BIN
core/static/com/img/weekmail_bannerA19.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
BIN
core/static/com/img/weekmail_footerA19.jpg
Normal file
BIN
core/static/com/img/weekmail_footerA19.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue
Block a user