[UPDT] HORILLA VIEWS: Update html header

This commit is contained in:
Horilla
2025-03-06 12:08:54 +05:30
parent 7997636bd9
commit d7b1701646
4 changed files with 8 additions and 6 deletions

View File

@@ -2,11 +2,12 @@
horilla_views/generic/cbv/pipeline horilla_views/generic/cbv/pipeline
""" """
from django.views.generic import ListView
from django.db import models from django.db import models
from django.views.generic import ListView
from django_filters import FilterSet from django_filters import FilterSet
from horilla_views.cbv_methods import get_short_uuid
from horilla.horilla_middlewares import _thread_locals from horilla.horilla_middlewares import _thread_locals
from horilla_views.cbv_methods import get_short_uuid
class Pipeline(ListView): class Pipeline(ListView):

View File

@@ -92,7 +92,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
> >
{{cell.0}} {{cell.0|safe}}
</div> </div>
</th> </th>
{% endwith %} {% endwith %}

View File

@@ -41,11 +41,11 @@
</div> </div>
</div> </div>
</div> </div>
<div <div
class="oh-tabs__movable-body position-relative" class="oh-tabs__movable-body position-relative"
hx-get="{{url}}?{% for parameter in parameters %}{{parameter|format:group}}&{% endfor %}{{request.GET.urlencode}}" hx-get="{{url}}?{% for parameter in parameters %}{{parameter|format:group}}&{% endfor %}{{request.GET.urlencode}}"
hx-trigger="load" hx-trigger="load"
> >
</div> </div>
</div> </div>
@@ -61,4 +61,3 @@
badge.attr("title", title); badge.attr("title", title);
</script> </script>
</div> </div>

View File

@@ -77,6 +77,8 @@ def getattribute(value, attr: str):
if isinstance(result, types.MethodType): if isinstance(result, types.MethodType):
result = result() result = result()
value = result value = result
else:
return getattr(value, attr, "")
return result return result