Permalink
Browse files

mod_base: Add status_title to icon_status template to provide status …

…hover text.
  • Loading branch information...
1 parent 4ffa900 commit d7e9d780171cdbf71a570f36a11bbe2d53d7a005 @arjan arjan committed Mar 25, 2013
@@ -23,7 +23,7 @@
<tbody>
{% for sort, prio, module, props in modules %}
<tr id="{{ #li.module }}" class="{% if not props.is_active %}unpublished{% endif %}">
- <td>{% include "_icon_status.tpl" status=status[module] status_id=#status.module %} {{ props.mod_title|default:props.title }}</td>
+ <td>{% include "_icon_status.tpl" status_title=status[module] status=status[module] status_id=#status.module %} {{ props.mod_title|default:props.title }}</td>
<td>{{ props.mod_description|default:"-" }}</td>
<td>{{ prio }}</td>
<td>
@@ -1 +1 @@
-<span {% if status_id %}id="{{ status_id }}" {% endif %}class="pull-left icon_status icon_status_{{ status }}">&nbsp;</span>
+<span {% if status_id %}id="{{ status_id }}" {% endif %}{% if status_title %}title="{{ status_title|escape }}" {% endif %}class="pull-left icon_status icon_status_{{ status }}">&nbsp;</span>

0 comments on commit d7e9d78

Please sign in to comment.