Compare commits
No commits in common. "f717e650e65f6a0caac6d93c315fb450b16346f4" and "a955e9f564df34af3c1811ae9ca3748d31a1a653" have entirely different histories.
f717e650e6
...
a955e9f564
@ -102,6 +102,7 @@ def home_view(request: HttpRequest):
|
||||
return render(request, template, context)
|
||||
|
||||
|
||||
@login_required
|
||||
def get_geom_parcels(request: HttpRequest, id: str):
|
||||
""" Getter for HTMX
|
||||
|
||||
@ -156,6 +157,7 @@ def get_geom_parcels(request: HttpRequest, id: str):
|
||||
return HttpResponse(None, status=404)
|
||||
|
||||
|
||||
@login_required
|
||||
def get_geom_parcels_content(request: HttpRequest, id: str, page: int):
|
||||
""" Getter for infinite scroll of HTMX
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="container-fluid mt-3 mb-5 px-4">
|
||||
<div class="container-fluid mt-3 px-4">
|
||||
{% comment %}
|
||||
The modal wrapper, which can be used on every view can stay on the base.html template
|
||||
{% endcomment %}
|
||||
|
@ -14,8 +14,8 @@
|
||||
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
<div class="col-md">
|
||||
<h4>{% trans 'Teams' %}</h4>
|
||||
<div class="col-md">
|
||||
<button class="btn rlp-r btn-modal" data-form-url="{% url 'user:team-new' %}" title="{% trans 'Add new team' %}">
|
||||
{% fa5_icon 'plus' %}
|
||||
{% trans 'New' %}
|
||||
|
Loading…
Reference in New Issue
Block a user