diff --git a/experimental/plugin_sendmail.go b/experimental/plugin_sendmail.go index 79b9631b..a1622de8 100644 --- a/experimental/plugin_sendmail.go +++ b/experimental/plugin_sendmail.go @@ -59,9 +59,5 @@ func send_sendmail(data ...interface{}) interface{} { return false } - err = sendmail.Wait() - if err != nil { - return false - } - return true + return sendmail.Wait() == nil } \ No newline at end of file diff --git a/themes/nox/public/main.css b/themes/nox/public/main.css index 86fdddc4..90f97b9f 100644 --- a/themes/nox/public/main.css +++ b/themes/nox/public/main.css @@ -593,6 +593,9 @@ button, .formbutton, .panel_right_button { margin-left: auto; display: flex; } +.post_item .controls:not(.has_likes) .like_count { + display: none; +} .action_item .userinfo, .action_item .action_icon { display: none; @@ -633,6 +636,9 @@ button, .formbutton, .panel_right_button { .report_item:after { content: "{{index .Phrases "topic.report_button_text"}}"; } +.like_count:after { + content: " likes"; +} .topic_reply_container { display: flex; @@ -677,6 +683,19 @@ button, .formbutton, .panel_right_button { background-color: #444444; padding: 10px; } + .post_item .action_button_right { + background-color: #444444; + padding: 10px; + padding-left: 14px; + /*padding-right: 12px;*/ + margin-top: 8px; + } + .post_item .controls:not(.has_likes) .like_count { + display: inline; + } + .post_item .created_at { + margin-left: auto; + } .ip_item.hide_on_mobile { display: none; }