Author: sevein
Date: Sun Oct 10 07:05:13 2010
New Revision: 28
Log:
Truncate column text.
Modified:
trunk/templates/report.html
Modified: trunk/templates/report.html
==============================================================================
--- trunk/templates/report.html Fri Oct 8 05:25:59 2010 (r27)
+++ trunk/templates/report.html Sun Oct 10 07:05:13 2010 (r28)
@@ -39,10 +39,10 @@
{% for item in objects.object_list %}
<tr class="{% cycle 'odd' 'even' %}">
<td class="date" title="{{ item.created_at|time:"H:i:s" }}">{{
item.created_at|date:"SHORT_DATE_FORMAT" }}</td>
- <td>{{ item.site_title }}</td>
- <td>{{ item.site_description }}</td>
+ <td><span title="{{ item.site_title }}">{{
item.site_title|truncate_chars:20 }}</span></td>
+ <td><span title="{{ item.site_description }}">{{
item.site_description|truncate_chars:20 }}</span></td>
<td>{{ item.version }} (» {{ item.version_offered }})</td>
- <td><span title="{{ item.address }}">{{
item.address|truncate_chars:60 }}</span></td>
+ <td><span title="{{ item.address }}">{{
item.address|truncate_chars:50 }}</span></td>
<td class="httpmeta_remoteaddr"><a href="#">{{
item.httpmeta_remoteaddr }}</a></td>
<td class="buttons"><a href="{% url chk4upd.views.delete item.id
%}"><img src="/media/delete.png" alt="Delete" onclick="return confirm('Are you
sure?');" /></a></td>
</tr>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" 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/qubit-commits?hl=en.