Ticket #1668: django_admin_index.html.diff

File django_admin_index.html.diff, 601 bytes (added by Evren Esat Özkan <sleytr@…>, 17 years ago)

admin index.html patch to change blocktrans to trans for app.names

  • index.html

     
    1515    {% for app in app_list %}
    1616        <div class="module">
    1717        <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
    18         <caption>{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</caption>
     18        <caption>{% trans app.name %}</caption>
    1919        {% for model in app.models %}
    2020            <tr>
    2121            {% if model.perms.change %}
Back to Top