43 lines
1.1 KiB
HTML
43 lines
1.1 KiB
HTML
{% extends "hobo/base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block breadcrumb %}
|
|
{{ block.super }}
|
|
<a href="{% url 'applications-home' %}">{% trans 'Applications' %}</a>
|
|
{% endblock %}
|
|
|
|
{% block appbar %}
|
|
<h2>{% trans 'Applications' %}</h2>
|
|
<span class="actions">
|
|
<a rel="popup" href="{% url 'application-install' %}">{% trans 'Install' %}</a>
|
|
<a rel="popup" href="{% url 'application-init' %}">{% trans 'Create' %}</a>
|
|
</span>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% if object_list %}
|
|
<div id="applications">
|
|
{% for application in object_list %}
|
|
<div class="application application--{{ application.slug }}">
|
|
<h3>{{ application.name }}</h3>
|
|
<p>{{ application.description|default:"" }}</p>
|
|
{% if application.editable %}
|
|
<div class="buttons">
|
|
<a class="button" href="{% url 'application-manifest' app_slug=application.slug %}"
|
|
>{% trans "Edit" %}</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div id="no-applications">
|
|
<div class="infonotice">
|
|
<p>{% trans "You should find, install or build some applications." %}</p>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|