Author: sevein
Date: Mon Oct 11 05:24:07 2010
New Revision: 33

Log:
Use custom methods in the report template.

Modified:
   trunk/templates/report.html

Modified: trunk/templates/report.html
==============================================================================
--- trunk/templates/report.html Mon Oct 11 05:22:21 2010        (r32)
+++ trunk/templates/report.html Mon Oct 11 05:24:07 2010        (r33)
@@ -40,11 +40,11 @@
       </tr>
       {% for item in objects.object_list %}
         <tr class="{% cycle 'odd' 'even' %}">
-          <td class="date" title="{{ item.created_at|pretty_date }} ({{ 
item.created_at|time:"H:i:s" }})">{{ item.created_at|date:"SHORT_DATE_FORMAT" 
}}</td>
+          <td class="date"><abbr title="{{ item.created_at|pretty_date }} ({{ 
item.created_at|time:"H:i:s" }})">{{ item.created_at|date:"SHORT_DATE_FORMAT" 
}}</abbr></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 }} (&raquo;&nbsp;{{ item.version_offered }})</td>
-          <td><span title="{{ item.address }}">{{ 
item.address|truncate_chars:50 }}</span></td>
+          <td>{{ item.get_full_version }}</td>
+          <td><abbr title="{{ item.address }}">{{ item.get_hostname 
}}</abbr></td>
           <td class="method">{{ item.check_method }}</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>

-- 
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.

Reply via email to