diff --git a/template/templates/common/item_meta.html b/template/templates/common/item_meta.html index 21c802a7..a78a8378 100644 --- a/template/templates/common/item_meta.html +++ b/template/templates/common/item_meta.html @@ -42,6 +42,15 @@ title="{{ t "entry.shared_entry.title" }}" target="_blank">{{ icon "share" }}{{ t "entry.shared_entry.label" }} +
  • + {{ icon "delete" }}{{ t "entry.unshare.label" }} +
  • {{ end }} {{ if .hasSaveEntry }}
  • diff --git a/template/templates/views/entry.html b/template/templates/views/entry.html index 1317d6c6..106140f9 100644 --- a/template/templates/views/entry.html +++ b/template/templates/views/entry.html @@ -44,17 +44,28 @@ >{{ icon "save" }}{{ t "entry.save.label" }}
  • {{ end }} -
  • - {{ if .entry.ShareCode }} + {{ if .entry.ShareCode }} +
  • {{ icon "share" }}{{ t "entry.shared_entry.label" }} - {{ else }} +
  • +
  • + {{ icon "delete" }}{{ t "entry.unshare.label" }} +
  • + {{ else }} +
  • {{ icon "share" }}{{ t "entry.share.label" }} - {{ end }} -
  • + + {{ end }}