more news - post barcode fixes.

workspace
Brendan Howell 4 years ago
parent 2cc14247b9
commit 1541b39e54

@ -338,7 +338,7 @@ class MailRoom(Bureau):
msg.r_bc = os.path.join("/tmp", "POr." + shortcode + ".svg")
with open(msg.r_bc, "w") as svgfile:
svgfile.write(kode256.svg("POr." + shortcode))
msg.sp_bc = os.path.join("/tmp", "POd." + shortcode + ".svg")
msg.sp_bc = os.path.join("/tmp", "POsp." + shortcode + ".svg")
with open(msg.sp_bc, "w") as svgfile:
svgfile.write(kode256.svg("POsp." + shortcode))

@ -228,7 +228,7 @@
<div class="mailsubject">${msg["subject"]}</div><div class="maildate">${msg["date"]}</div>
</div>
<div class="mailrow">
<div class="mailact actname" style:>read</div><div class="mailact actname">delete</div><div class="mailact actname">mark as spam</div>
<div class="mailact actname">mark as spam</div><div class="mailact actname">delete</div><div class="mailact actname">read</div>
</div>
<div class="mailrow">
<div class="mailact"><img src='file://${msg["sp_bc"]}' /></div><div class="mailact"><img src='file://${msg["d_bc"]}' /></div><div class="mailact"><img src='file://${msg["r_bc"]}' /></div>

Loading…
Cancel
Save