Commit 65b9801b authored by Claudemir Todo Bom's avatar Claudemir Todo Bom

* adjust formatting

parent 25aafa14
Pipeline #167 passed with stage
in 1 minute and 29 seconds
......@@ -188,14 +188,14 @@ class JunkReport:
self.addTextTitleValue(u"Data/Hora", time.strftime("%c",time.localtime(msgInfo["imap.envelope"]["date"])))
self.addTextTitleValue(u"Remetente", msgInfo["imap.envelope"]["from"][0].formatAddress())
self.addTextTitleValue(u"Assunto" , msgInfo["imap.envelope"]["subject"])
self.addHtmlTemplate(u"%(htmlpreoff)s","\n")
self.addHtmlTemplate(u"%(htmlpreoff)s")
url = "https://"+config.get("root","WW_SSL_MAIN")+"/wwmail/junkrelease.php"
url = url + "/" + self.address
url = url + "/" + msgInfo["guid"]
url = url + "/" + base64.urlsafe_b64encode(md5.new(self.address+msgInfo["guid"]+ww_isp_pass).digest())[:-2]
self.addTextTitleValue(u"Liberar" , url , textOnly = True)
self.addTextTitleValue(u"Liberar" , url + "\n\n" , textOnly = True)
self.addHtmlTemplate(u"<a href='" + url + "' style='%(stylebutton)s'>Liberar</a>")
self.addHtmlTemplate(u"%(htmlboxoff)s","\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment