You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/10/01 17:44:57 UTC

svn commit: r1392403 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html

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.