mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 11:04:20 +00:00
Merge branch 'weekmail' into 'master'
com: add weekmail banner and footer for A19 See merge request ae/Sith!227
This commit is contained in:
commit
18b1bea664
@ -194,10 +194,10 @@ class Weekmail(models.Model):
|
|||||||
).content.decode("utf-8")
|
).content.decode("utf-8")
|
||||||
|
|
||||||
def get_banner(self):
|
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):
|
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):
|
def __str__(self):
|
||||||
return "Weekmail %s (sent: %s) - %s" % (self.id, self.sent, self.title)
|
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