1
0
mirror of https://github.com/writeas/writefreely synced 2025-02-01 16:17:11 +01:00

Hide Public blog option on single-user instances

This commit is contained in:
Matt Baer 2019-07-22 14:37:32 -04:00
parent ba3cb4b4ff
commit bd4bb52b9c

View File

@ -58,6 +58,7 @@
</label> </label>
<p>A password is required to read this blog.</p> <p>A password is required to read this blog.</p>
</li> </li>
{{if not .SingleUser}}
<li> <li>
<label class="option-text{{if not .LocalTimeline}} disabled{{end}}"><input type="radio" name="visibility" id="visibility-public" value="1" {{if .IsPublic}}checked="checked"{{end}} {{if not .LocalTimeline}}disabled="disabled"{{end}} /> <label class="option-text{{if not .LocalTimeline}} disabled{{end}}"><input type="radio" name="visibility" id="visibility-public" value="1" {{if .IsPublic}}checked="checked"{{end}} {{if not .LocalTimeline}}disabled="disabled"{{end}} />
Public Public
@ -65,6 +66,7 @@
{{if .LocalTimeline}}<p>This blog is displayed on the public <a href="/read">reader</a>, and is visible to {{if .Private}}any registered user on this instance{{else}}anyone with its link{{end}}.</p> {{if .LocalTimeline}}<p>This blog is displayed on the public <a href="/read">reader</a>, and is visible to {{if .Private}}any registered user on this instance{{else}}anyone with its link{{end}}.</p>
{{else}}<p>The public reader is currently turned off for this community.</p>{{end}} {{else}}<p>The public reader is currently turned off for this community.</p>{{end}}
</li> </li>
{{end}}
</ul> </ul>
</div> </div>
</div> </div>