Skip to content

Commit

Permalink
templates/*: rm second budgeting list fixes #4955 and add sr header f…
Browse files Browse the repository at this point in the history
…or map views
  • Loading branch information
Phillippa authored and fuzzylogic2000 committed Feb 20, 2023
1 parent 9dddf41 commit 39e4f3a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
{% block phase_content %}
{% if view.mode == 'map' %}
<div class="container u-spacer-bottom u-spacer-top-double">
<h2 class="visually-hidden">{% translate "Map of proposals" %}</h2>
<div class="offset-lg-2 col-lg-8">
{% include "meinberlin_contrib/includes/map_filter_and_sort.html" with filter=view.filter mode=view.mode %}
</div>
Expand Down Expand Up @@ -88,30 +89,5 @@
</div>
{% else %}
{% react_proposals view.module %}

<div class="container u-spacer-bottom u-spacer-top-double">
<div class="offset-lg-2 col-lg-8">
<div>This is the old list to compare the new list above to. And we will only deploy the old list when we do deploy.</div>
{% include "meinberlin_contrib/includes/map_filter_and_sort.html" with filter=view.filter mode=view.mode %}
</div>
</div>
<div class="module-content--light">
<div class="container">
<div class="offset-lg-2 col-lg-8">
{% if object_list.count > 0 %}
<h2 class="visually-hidden">{% translate "Proposal list" %}</h2>
<ul class="u-list-reset">
{% for object in object_list %}
{% include "meinberlin_ideas/includes/idea_list_item.html" with object=object %}
{% endfor %}
</ul>
{% else %}
{% translate "Nothing to show" %}
{% endif %}

{% include "meinberlin_contrib/includes/pagination.html" %}
</div>
</div>
</div>
{% endif %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
</div>
{% if view.mode == 'map' %}
<div class="map-list">
<h2 class="visually-hidden">{% translate "Map of proposals" %}</h2>
<div class="map-list__controls">
<div class="container">
<div class="leaflet-control-zoom leaflet-bar leaflet-control">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
</div>
</div>
{% if view.mode == 'map' %}
<h2 class="visually-hidden">{% translate "Map of ideas" %}</h2>
<div class="map-list">
<div class="map-list__controls">
<div class="container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
</div>
{% if view.mode == 'map' %}
<div class="map-list">
<h2 class="visually-hidden">{% translate "Map of topics" %}</h2>
<div class="map-list__controls">
<div class="container">
<div class="leaflet-control-zoom leaflet-bar leaflet-control">
Expand Down

0 comments on commit 39e4f3a

Please sign in to comment.