Skip to content

Commit

Permalink
add Nextcloud admin login (#59)
Browse files Browse the repository at this point in the history
* add nextcloud admin login for admins

* rename admin button
  • Loading branch information
MattesR authored and mgax committed Jul 18, 2019
1 parent 9a638af commit 49f391c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion liquidcore/home/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@ <h1>{{ liquid_title }}</h1>

{% if nextcloud_app_url %}
<p>
<a href="{{ nextcloud_app_url }}">Nextcloud</a>
<a href="{{ nextcloud_app_url }}/login?autologin=uploads">Nextcloud</a>
</p>
{% if user.is_superuser %}
<p>
<a href="{{ nextcloud_app_url }}/login?autologin=admin">Nextcloud -- Admin</a>
</p>
{% endif %}
{% endif %}

{% endblock %}
Expand Down

0 comments on commit 49f391c

Please sign in to comment.