diff options
Diffstat (limited to 'abrechenbarkeit.lua')
-rwxr-xr-x | abrechenbarkeit.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua index 00b4f11..77d7fd0 100755 --- a/abrechenbarkeit.lua +++ b/abrechenbarkeit.lua @@ -258,12 +258,14 @@ local function r_user(username) <div class="notif"><p><i>This user account does not exist yet. It will only be created after the first transaction.</i></p></div> ]]) else + print([[<div class="backgroundbox userinfo">]]) print(string.format([[ - <p><span class="balance">Current balance:</span><span class="amount-%s balance-value">%.02f€</p> + Current balance:<br><span class="amount-%s balance-value">%.02f€</span><br> ]], balance >= 0 and "pos" or "neg", balance / 100)) print(string.format([[ - <p>Last transaction added %s ago. <a href="/%s?log">View user log</a> + Last transaction added %s ago. <a href="/%s?log">View user log</a> ]], format_duration(os.time() - last_txn), username)) + print([[</div>]]) end print([[<div class="transactions container firstchildlarge">]]) print([[<div class="amount-presets backgroundbox">]]) |