diff options
Diffstat (limited to 'python/templates/pages/packages/index.html')
-rw-r--r-- | python/templates/pages/packages/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/templates/pages/packages/index.html b/python/templates/pages/packages/index.html index 5e02552..7139c87 100644 --- a/python/templates/pages/packages/index.html +++ b/python/templates/pages/packages/index.html @@ -3,15 +3,15 @@ <div class="row"> <h2>Categories</h2> <div class="col-xs-8 col-md-4"> - {% for key, CM in CM_tmp.items %} + {% for CM in CM_tmp %} <table class="table table-striped frontpage-table"> <tr> <td class="frontpage-table-package-atom"> - <a href="/categories/{{ CM.CategoryId }}/" title="{{ key }}">{{ key }}</a> + <a href="/categories/{{ CM.CategoryId }}/" title="{{ CM.Category }}">{{CM.Category }}</a> </td> <td> <p title="{{ CM.Descriptions }}">{{ CM.Descriptions }}</p> - <p title="{% for P in CM.Packages %}{{ key }}/{{ P }}{% endfor %}">Packages</p> + <p title="{% for P in CM.Packages %}{{ CM.Category}}/{{ P }}{% endfor %}">Packages</p> </td> </tr> </table> |