1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Allow admins to set subdomain for their instance

Fixes #209

Admins can see and set subdomain for their instance.

Self-host customers only!
This commit is contained in:
Harvey Kandola 2019-02-27 13:49:59 +00:00
parent af9bc25660
commit f828583b49
6 changed files with 25 additions and 3 deletions

View file

@ -22,6 +22,13 @@
</div>
<small class="form-text text-muted">You can choose to upload a small logo (e.g. 64px x 64px)</small>
</div>
{{#if (eq appMeta.location "selfhost")}}
<div class="form-group">
<label for="orgDomain">Site URL Subdomain</label>
{{input id="orgDomain" type="text" value=domain class="form-control" placeholder="e.g. docs"}}
<small class="form-text text-muted">If you are hosting on "docs.example.org" then the subdomain value should be set to "doc"</small>
</div>
{{/if}}
<div class="form-group">
<label>Public Spaces Viewable By Anonymous Users</label>