Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mod_base: Add status_title to icon_status template to provide status …

…hover text.
  • Loading branch information...
commit d7e9d780171cdbf71a570f36a11bbe2d53d7a005 1 parent 4ffa900
Arjan Scherpenisse arjan authored
2  modules/mod_admin_modules/templates/admin_modules.tpl
View
@@ -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>
2  modules/mod_base/templates/_icon_status.tpl
View
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.