Merge pull request '#185 Parcel loading on public reports' (#186) from 185_Parcels_loading_CORS_error into master
Reviewed-on: SGD-Nord/konova#186
This commit is contained in:
commit
23f0567aef
@ -102,7 +102,6 @@ def home_view(request: HttpRequest):
|
|||||||
return render(request, template, context)
|
return render(request, template, context)
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
|
||||||
def get_geom_parcels(request: HttpRequest, id: str):
|
def get_geom_parcels(request: HttpRequest, id: str):
|
||||||
""" Getter for HTMX
|
""" Getter for HTMX
|
||||||
|
|
||||||
@ -157,7 +156,6 @@ def get_geom_parcels(request: HttpRequest, id: str):
|
|||||||
return HttpResponse(None, status=404)
|
return HttpResponse(None, status=404)
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
|
||||||
def get_geom_parcels_content(request: HttpRequest, id: str, page: int):
|
def get_geom_parcels_content(request: HttpRequest, id: str, page: int):
|
||||||
""" Getter for infinite scroll of HTMX
|
""" Getter for infinite scroll of HTMX
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<div class="container-fluid mt-3 px-4">
|
<div class="container-fluid mt-3 mb-5 px-4">
|
||||||
{% comment %}
|
{% comment %}
|
||||||
The modal wrapper, which can be used on every view can stay on the base.html template
|
The modal wrapper, which can be used on every view can stay on the base.html template
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h4>{% trans 'Teams' %}</h4>
|
|
||||||
<div class="col-md">
|
<div class="col-md">
|
||||||
|
<h4>{% trans 'Teams' %}</h4>
|
||||||
<button class="btn rlp-r btn-modal" data-form-url="{% url 'user:team-new' %}" title="{% trans 'Add new team' %}">
|
<button class="btn rlp-r btn-modal" data-form-url="{% url 'user:team-new' %}" title="{% trans 'Add new team' %}">
|
||||||
{% fa5_icon 'plus' %}
|
{% fa5_icon 'plus' %}
|
||||||
{% trans 'New' %}
|
{% trans 'New' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user