diff options
author | r <r@freesoftwareextremist.com> | 2020-06-18 05:02:45 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-06-18 05:04:18 +0000 |
commit | 34c1d087afd26b2ca8426333c02c943d13f3fdb0 (patch) | |
tree | e05a72d81cdd1ad8034eccf3c2cc73f93c17f37d /templates | |
parent | bd3f9ac9668d1363158b13efab41e734eaae2aed (diff) | |
download | bloat-34c1d087afd26b2ca8426333c02c943d13f3fdb0.tar.gz bloat-34c1d087afd26b2ca8426333c02c943d13f3fdb0.zip |
Disable scope selection when replying to a direct post
Diffstat (limited to 'templates')
-rw-r--r-- | templates/postform.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/postform.tmpl b/templates/postform.tmpl index 9c674e9..3bb2457 100644 --- a/templates/postform.tmpl +++ b/templates/postform.tmpl @@ -24,7 +24,7 @@ {{end}} <span class="post-form-field"> <label for="post-visilibity"> Scope </label> - <select id="post-visilibity" name="visibility"> + <select id="post-visilibity" name="visibility" {{if .ReplyContext}}{{if .ReplyContext.ForceVisibility}}disabled{{end}}{{end}}> <option value="public" {{if eq .DefaultVisibility "public"}}selected{{end}}>Public</option> <option value="unlisted" {{if eq .DefaultVisibility "unlisted"}}selected{{end}}>Unlisted</option> <option value="private" {{if eq .DefaultVisibility "private"}}selected{{end}}>Private</option> |