mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
index: Reintroduce clients button in front page
Tests performed: - Pick an app like Infonoted that does not have web client. Visit the front page click on Infinoted. Clients button should show up. Clicking on it should expand the clients information table. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
75bc011fe7
commit
07296f3300
@ -37,12 +37,20 @@
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% include "clients.html" with clients=selected_shortcut.clients enabled=True %}
|
||||
<section class="toolbar">
|
||||
<div class="btn-toolbar" role="toolbar">
|
||||
{% include "clients-button.html" with clients=selected_shortcut.clients enabled=True %}
|
||||
|
||||
{% if user.is_authenticated and user_is_admin and selected_shortcut.configure_url %}
|
||||
<a class="btn btn-primary" href="{{ selected_shortcut.configure_url }}">
|
||||
{% trans "Configure »" %}</a>
|
||||
{% endif %}
|
||||
{% if user.is_authenticated and user_is_admin and selected_shortcut.configure_url %}
|
||||
<a class="btn btn-primary" href="{{ selected_shortcut.configure_url }}">
|
||||
{% trans "Configure »" %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="toolbar-collapsed-content">
|
||||
{% include "clients.html" with clients=selected_shortcut.clients enabled=True %}
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user