diff --git a/internal/conf/templates/edit.tmpl.html b/internal/conf/templates/edit.tmpl.html index a84b5d1..b8e9aff 100644 --- a/internal/conf/templates/edit.tmpl.html +++ b/internal/conf/templates/edit.tmpl.html @@ -24,10 +24,30 @@ href="/static/css/tiny-mde.min.css" /> {{end}} diff --git a/internal/conf/templates/view.tmpl.html b/internal/conf/templates/view.tmpl.html index 48de3fd..932e5fc 100644 --- a/internal/conf/templates/view.tmpl.html +++ b/internal/conf/templates/view.tmpl.html @@ -7,6 +7,26 @@ Edit Delete +
+

Ownership

+ {{if .note.Viewers}} +

This note is owned by {{.note.Owner}} and is further visible to

+ + {{else}} +

This note is owned by {{.note.Owner}}.

+ {{end}} + +
+
+ +
Share with other user
+
+ +