Make use of the lastsuccess parameter to improve some messages
authorMagnus Hagander <magnus@hagander.net>
Sat, 11 Jul 2020 17:22:12 +0000 (19:22 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 11 Jul 2020 17:22:12 +0000 (19:22 +0200)
commit8dde383642af987ed420eb0fce05c7f6071cd23d
treeeff74ef0bf097e4f2fb744a0060c108f766248fa
parent557225ee5c6a460564909169283a7a1d9916e7fa
Make use of the lastsuccess parameter to improve some messages

In particular, it is interesting to know when a blog that has failed
multiple times has actually succeeded more recent than the most recent
failure. So show this both on the dashbaord and on the individual blog
details, and include it in the email that's sent when a blog generates
large amounts of errors.
hamnadmin/hamnadmin/register/management/commands/send_logs.py
hamnadmin/hamnadmin/register/models.py
hamnadmin/hamnadmin/register/templates/edit.html
hamnadmin/hamnadmin/register/templates/index.html
www/css/planet_reg.css