mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-04 19:08:45 +00:00
Disable scope selection when replying to a direct post
This commit is contained in:
parent
bd3f9ac966
commit
34c1d087af
3 changed files with 13 additions and 14 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue