mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-05 12:19:31 +00:00
apps: Change header title from Disabled to Available for install
Closes #1633. [sunil: Move the button to the top of the apps page] [sunil: Drop additional div nesting for 'available for install' section] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
10069c4e5d
commit
5a00d05cfe
@ -5,6 +5,7 @@
|
||||
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
{% load extras %}
|
||||
|
||||
{% block container %}
|
||||
<div class="container">
|
||||
@ -19,6 +20,15 @@
|
||||
{% include "tags.html" %}
|
||||
{% endblock %}
|
||||
|
||||
<div class="btn-toolbar container" role="toolbar">
|
||||
<a class="btn btn-primary" href="#available-for-install-container"
|
||||
data-bs-toggle="collapse" role="button" aria-expanded="false"
|
||||
aria-controls="available-for-install-container">
|
||||
{% icon 'plus' %}
|
||||
{% trans "Add new app" %}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="container card-container">
|
||||
<div class="row">
|
||||
<div class="card-list card-list-primary">
|
||||
@ -34,8 +44,8 @@
|
||||
</div>
|
||||
|
||||
{% if show_disabled %}
|
||||
<div class="container card-container">
|
||||
<div class="card-section-title">{% trans "Disabled" %}</div>
|
||||
<div class="container card-container collapse" id="available-for-install-container">
|
||||
<div class="card-section-title">{% trans "Available for install" %}</div>
|
||||
<div class="row">
|
||||
<div class="card-list card-list-disabled">
|
||||
{% for item in menu_items %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user