diff --git a/assets/templates/asset_list.html b/assets/templates/asset_list.html index 4e8efda0..ea008196 100644 --- a/assets/templates/asset_list.html +++ b/assets/templates/asset_list.html @@ -1,23 +1,23 @@ {% extends 'base.html' %} {% block title %}List{% endblock %} +{% load paginator from filters %} {% block content %} -

Asset List

+

Asset List

-
- {% csrf_token %} -
- - -
+
+ + {% csrf_token %} +
+ + + +
+ +
-
- -
- - - +
@@ -32,7 +32,11 @@
Asset ID
- {% include 'helpers/paginator.html' %} + {% if is_paginated %} +
+ {% paginator %} +
+ {% endif %} {% endblock %} @@ -44,4 +48,4 @@ return false; }); -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/assets/templates/asset_list_table_body.html b/assets/templates/asset_list_table_body.html index 75c6e5c1..661920ba 100644 --- a/assets/templates/asset_list_table_body.html +++ b/assets/templates/asset_list_table_body.html @@ -6,9 +6,11 @@ {{ item.category }} {{ item.status }} - visibility - edit - content_copy +
+ + + +
-{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/assets/templates/helpers/paginator.html b/assets/templates/helpers/paginator.html deleted file mode 100644 index 9854a039..00000000 --- a/assets/templates/helpers/paginator.html +++ /dev/null @@ -1,17 +0,0 @@ -{% if is_paginated %} - -{% endif %} \ No newline at end of file