diff --git a/froide_govplan/templates/froide_govplan/base.html b/froide_govplan/templates/froide_govplan/base.html index 2149b59..1143585 100644 --- a/froide_govplan/templates/froide_govplan/base.html +++ b/froide_govplan/templates/froide_govplan/base.html @@ -78,7 +78,7 @@ -
+
diff --git a/froide_govplan/templates/froide_govplan/detail.html b/froide_govplan/templates/froide_govplan/detail.html index 75d4478..07709c4 100644 --- a/froide_govplan/templates/froide_govplan/detail.html +++ b/froide_govplan/templates/froide_govplan/detail.html @@ -25,47 +25,17 @@ {% for cat in object.categories.all %}
  • {{ cat.name }} + class="badge text-bg-light text-decoration-none">{{ cat.name }}
  • {% endfor %}
    -
    - {% if object.quote %} -
    Ausschnitt aus dem Koalitionsvertrag
    -
    -
    - {{ object.quote | addquotes | markdown }} -
    - {% with refs=object.get_reference_links %} - {% if refs %} -

    - - {% if refs|length > 1 %} - Quellen: - {% else %} - Quelle: - {% endif %} - - {% for ref in refs %} - {{ forloop.counter }} - {% endfor %} -

    - {% endif %} - {% endwith %} - {% endif %} -
    - {% if object.description %} -
    -
    Unsere Einschätzung
    -
    - {{ object.description | safe }} -
    -
    - {% endif %} -
    -
    -
    + +
    +
    + +
    +
    {% if object.rating %}
    Bewertung
    @@ -88,13 +58,14 @@ {% if object.responsible_publicbody %}
    Federführung
    - {{ object.responsible_publicbody.name }} + {{ object.responsible_publicbody.name }}
    {% endif %} +
    {% if object.responsible_publicbody %} {% if not object.has_recent_foirequest and government.active %}

    - Anfrage zum Vorhaben stellen

    @@ -129,8 +100,50 @@ {% endif %}
    + +
    + +
    + +
    + {% if object.quote %} +
    Ausschnitt aus dem Verwaltungsvorhaben
    +
    +
    + {{ object.quote | addquotes | markdown }} +
    + {% with refs=object.get_reference_links %} + {% if refs %} +

    + + {% if refs|length > 1 %} + Quellen: + {% else %} + Quelle: + {% endif %} + + {% for ref in refs %} + {{ forloop.counter }} + {% endfor %} +

    + {% endif %} + {% endwith %} + {% endif %} +
    + {% if object.description %} +
    +
    Unsere Einschätzung
    +
    + {{ object.description | safe }} +
    +
    + {% endif %} +
    + +
    +

    diff --git a/froide_govplan/templates/helper/admin/fk_filter.html b/froide_govplan/templates/helper/admin/fk_filter.html new file mode 100644 index 0000000..45a8251 --- /dev/null +++ b/froide_govplan/templates/helper/admin/fk_filter.html @@ -0,0 +1,13 @@ +{% load i18n %} +

    {% blocktrans with filter_title=title %}By {{ filter_title }}{% endblocktrans %}

    +
      +
    • +
      + + {% for k, v in choices.0.params.items %}{% endfor %} +
      +
    • +
    + diff --git a/froide_govplan/templates/helper/forms/widgets/tag_autocomplete.html b/froide_govplan/templates/helper/forms/widgets/tag_autocomplete.html new file mode 100644 index 0000000..e1b9caf --- /dev/null +++ b/froide_govplan/templates/helper/forms/widgets/tag_autocomplete.html @@ -0,0 +1,18 @@ +{% load i18n %} +{% load frontendbuild %} +
    {% include "django/forms/widgets/input.html" %}
    + +