#9273: Breadcrumbs refactor in newforms-admin
----------------------------------+-----------------------------------------
 Reporter:  erny                  |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.0       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 The code to create breadcrumbs is duplicated in all templates.

 In index.html and app_index.html, app.name.title is used (with blocktrans
 which tries to translate "%(name)s", nonsense) , and application names can
 not be translated.

 In change_form.html, change_list.html, delete_confirmation.html and
 object_list.html `{{ app_label|capfirst|escape }}` is used.

 This is not DRY. Perhaps, breadcrumbs could be calculated in view
 functions and send to the templates within the context. There should be a
 way for the user to change the generated breadcrumbs.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9273>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to