mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-21 22:54:57 -04:00
Add a tooltip for elapsed time since the delivery
It adds the file util/time_ago.lua in order to re-use the function further
This commit is contained in:
parent
fbdaaeec11
commit
37fad48ec8
11 changed files with 239 additions and 144 deletions
|
@ -17,6 +17,7 @@ function mail.show_message(name, id)
|
|||
label[0.2,0.5;]] .. S("To") .. [[: %s]
|
||||
label[0.2,0.9;]] .. S("CC") .. [[: %s]
|
||||
label[0.2,1.3;]] .. S("Date") .. [[: %s]
|
||||
tooltip[0.2,1.3;4.8,0.4;]] .. mail.time_ago(message.time) .. [[]
|
||||
button[5.1,1;2,1;receivers;]] .. S("Receivers") .. [[]
|
||||
|
||||
label[0,2.1;]] .. S("Subject") .. [[: %s]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue