fix: Domain admin can see domain in home
This commit is contained in:
parent
8a7e644960
commit
38700ee4cb
3 changed files with 15 additions and 9 deletions
|
|
@ -14,15 +14,15 @@
|
|||
<button type="submit" class="button is-info">Create</button>
|
||||
</form>
|
||||
</div>
|
||||
<div>
|
||||
<h2>Active domains you can see</h2>
|
||||
<ul>
|
||||
{% for domain in domains %}
|
||||
<li><a href="/domain/{{ domain.name }}">{{ domain.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div>
|
||||
<h2>Active domains you can see</h2>
|
||||
<ul>
|
||||
{% for domain in domains %}
|
||||
<li><a href="/domain/{{ domain.name }}">{{ domain.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% if other_users %}
|
||||
<div>
|
||||
<h2>Other users you have permission to see on your own domain</h2>
|
||||
|
|
|
|||
Loading…
Reference in a new issue