From 7b2ff59beed06bc4607868bead2c9c9c7606a14a Mon Sep 17 00:00:00 2001 From: olivier <> Date: Thu, 10 May 2007 16:42:12 +0000 Subject: [PATCH] use named urls, add paging to collection, and others --- telemeta/templates/admin.html | 2 +- telemeta/templates/base.html | 8 +-- telemeta/templates/collection_detail.html | 6 +- telemeta/templates/collection_list.html | 11 ++-- telemeta/templates/dictionary_edit.html | 6 +- telemeta/templates/dictionary_edit_value.html | 2 +- telemeta/templates/dictionary_list.html | 14 ----- telemeta/templates/media_item.html | 29 ---------- telemeta/templates/mediaitem_detail.html | 7 ++- telemeta/templates/mediaitem_list.html | 2 +- telemeta/templates/search_results.html | 4 +- telemeta/urls.py | 58 ++++++++++++------- telemeta/views/web.py | 1 + 13 files changed, 64 insertions(+), 86 deletions(-) delete mode 100644 telemeta/templates/dictionary_list.html delete mode 100644 telemeta/templates/media_item.html diff --git a/telemeta/templates/admin.html b/telemeta/templates/admin.html index e335b3cf..8de5c33a 100644 --- a/telemeta/templates/admin.html +++ b/telemeta/templates/admin.html @@ -17,7 +17,7 @@ {%ifequal d.id dictionary_id %}
  • {{ d.name|capfirst }}
  • {%else%} -
  • {{ d.name|capfirst }}
  • +
  • {{ d.name|capfirst }}
  • {%endifequal%} {% endfor %} diff --git a/telemeta/templates/base.html b/telemeta/templates/base.html index 9fb41880..7c53b07b 100644 --- a/telemeta/templates/base.html +++ b/telemeta/templates/base.html @@ -17,16 +17,16 @@
    diff --git a/telemeta/templates/collection_detail.html b/telemeta/templates/collection_detail.html index 31cbb4e4..686a7f76 100644 --- a/telemeta/templates/collection_detail.html +++ b/telemeta/templates/collection_detail.html @@ -5,21 +5,19 @@

    Collection: {{ object.title }}


    Items