Ticket #8190: 8190-r16351.diff

File 8190-r16351.diff, 1.4 KB (added by Alexander Herrmann, 13 years ago)
  • django/contrib/admin/media/css/base.css

     
    303303    background: white;
    304304}
    305305
     306th abbr.help-text-tooltip {
     307        cursor: help;
     308}
     309
    306310/* SORTABLE TABLES */
    307311
    308312thead th a:link, thead th a:visited {
  • django/contrib/admin/templates/admin/edit_inline/tabular.html

     
    99     <thead><tr>
    1010     {% for field in inline_admin_formset.fields %}
    1111       {% if not field.widget.is_hidden %}
    12          <th{% if forloop.first %} colspan="2"{% endif %}{% if field.required %} class="required"{% endif %}>{{ field.label|capfirst }}</th>
     12         <th{% if forloop.first %} colspan="2"{% endif %}{% if field.required %} class="required"{% endif %}>
     13            {{ field.label|capfirst }}
     14            {% if field.help_text %}<abbr class="help-text-tooltip" title="{{ field.help_text|striptags }}">?</abbr>{% endif %}
     15         </th>
    1316       {% endif %}
    1417     {% endfor %}
    1518     {% if inline_admin_formset.formset.can_delete %}<th>{% trans "Delete?" %}</th>{% endif %}
Back to Top