crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 80dbd225892fb8da7ed8238ae641f735fc5be03d
parent 07f2c85e53addb699f31f2928562a4f4891438ab
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 26 Dec 2021 08:49:51 -0800

add newline

Diffstat:
Msrc/main.rs | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -187,13 +187,13 @@ impl<'a> ThreadList<'a> { : &thread.messages[0].subject } br; - a(class="addr", href=format!("mailto:{}", &thread.messages[0].from.addr)){ + span(class="timeago") { + : format!(" {created} | {replies} replies | updated {last}", replies=thread.messages.len() - 1, created=time::secs_to_date(thread.messages[0].date).ymd(), last=time::secs_to_date(thread.last_reply()).ymd()) + }br; a(class="addr", href=format!("mailto:{}", &thread.messages[0].from.addr)){ : short_name(&thread.messages[0].from) } + br; - span(class="timeago") { - : format!(" {created} | {replies} replies | updated {last}", replies=thread.messages.len() - 1, created=time::secs_to_date(thread.messages[0].date).ymd(), last=time::secs_to_date(thread.last_reply()).ymd()) - } } } };