incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1392403 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html
Date Mon, 01 Oct 2012 15:44:57 GMT
Author: gjm
Date: Mon Oct  1 15:44:56 2012
New Revision: 1392403

URL: http://svn.apache.org/viewvc?rev=1392403&view=rev
Log:
fix activity feed bug when a user creates the first ticket in the system with the newticket
page - fixes #204

Modified:
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html?rev=1392403&r1=1392402&r2=1392403&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html
(original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html
Mon Oct  1 15:44:56 2012
@@ -51,8 +51,11 @@
   </table>
   <py:otherwise>
     <py:def function="timeline_empty()">
-      No events reported for <em>${summary_of(context.resource)}</em> in the
-      last <em>$daysback</em> days since 
+      No events reported 
+      <py:if test="context.resource.id">
+        for <em>${summary_of(context.resource)}</em>
+      </py:if>
+      in the last <em>$daysback</em> days since 
       <span class="date">${format_date(fromdate)}</span>.
       This may happen if system is not configured correctly. 
       Please contact your administrator if you think this is the case.



Mime
View raw message