Skip to content

Commit

Permalink
[UPDT] HORILLA VIEWS: Update html header
Browse files Browse the repository at this point in the history
  • Loading branch information
horilla-opensource committed Mar 6, 2025
1 parent 7997636 commit d7b1701
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions horilla_views/generic/cbv/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
horilla_views/generic/cbv/pipeline
"""

from django.views.generic import ListView
from django.db import models
from django.views.generic import ListView
from django_filters import FilterSet
from horilla_views.cbv_methods import get_short_uuid

from horilla.horilla_middlewares import _thread_locals
from horilla_views.cbv_methods import get_short_uuid


class Pipeline(ListView):
Expand Down
2 changes: 1 addition & 1 deletion horilla_views/templates/generic/horilla_list_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
{% endif %}
{% endfor %}
>
{{cell.0}}
{{cell.0|safe}}
</div>
</th>
{% endwith %}
Expand Down
5 changes: 2 additions & 3 deletions horilla_views/templates/generic/pipeline/pipeline.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
</div>
</div>
</div>
<div
<div
class="oh-tabs__movable-body position-relative"
hx-get="{{url}}?{% for parameter in parameters %}{{parameter|format:group}}&{% endfor %}{{request.GET.urlencode}}"
hx-trigger="load"

>
</div>
</div>
Expand All @@ -61,4 +61,3 @@
badge.attr("title", title);
</script>
</div>

2 changes: 2 additions & 0 deletions horilla_views/templatetags/generic_template_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def getattribute(value, attr: str):
if isinstance(result, types.MethodType):
result = result()
value = result
else:
return getattr(value, attr, "")

return result

Expand Down

0 comments on commit d7b1701

Please sign in to comment.