From bf357a0e2dee24d80dc17082b1f685e8ee1ed9aa Mon Sep 17 00:00:00 2001 From: Jebbs Date: Mon, 7 Oct 2019 11:55:15 +0800 Subject: Add toast message for some keyboard shortcuts Add notification message when using keyboard shortcuts: f, s, and m. --- template/common.go | 5 ++++- template/html/common/layout.html | 3 +++ template/html/entry.html | 5 +++++ template/views.go | 7 ++++++- 4 files changed, 18 insertions(+), 2 deletions(-) (limited to 'template') diff --git a/template/common.go b/template/common.go index 9590cda..ace693c 100644 --- a/template/common.go +++ b/template/common.go @@ -115,6 +115,9 @@ var templateCommonMap = map[string]string{ +
+ +
{{ if .user }}