Scarab commit: svn commit: r11122 - branches/release/1.0.22/src/webapp/WEB-INF/templates/screens/IssueList.vm

[email protected] Fri, 13 Apr 2012 02:41:27 -0700 (PDT)
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: mcoss
Date: 2012-04-13 02:41:26-0700
New Revision: 11122

Modified:
   branches/release/1.0.22/src/webapp/WEB-INF/templates/screens/IssueList.vm

Log:
FIX - Show information message if there are no issues in currently selected results page.

Modified: branches/release/1.0.22/src/webapp/WEB-INF/templates/screens/IssueList.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/1.0.22/src/webapp/WEB-INF/templates/screens/IssueList.vm?view=diff&pathrev=11122&r1=11121&r2=11122
==============================================================================
--- branches/release/1.0.22/src/webapp/WEB-INF/templates/screens/IssueList.vm	(original)
+++ branches/release/1.0.22/src/webapp/WEB-INF/templates/screens/IssueList.vm	2012-04-13 02:41:26-0700
@@ -45,11 +45,12 @@
 </div>
 #end
 
-#if ($issueListSize == 0)
-  ## There are no matching issues
-<h3>$page.Title</h3>
-  <p><em>$l10n.NoMatchingIssues</em></p>
+#if ($queryResults.size() == 0)
+	## There are no matching issues
+	<h3>$page.Title</h3>
+	<p><em>$l10n.NoMatchingIssues</em></p>
 #else
+
 ## START OF ISSUES LIST
 <form action="$link.setPage('IssueList.vm').setAction('Search')" method="post">
 #if ($searchType)

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2947983