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

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: pledbrook
Date: 2006-08-07 07:44:09-0700
New Revision: 10245

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

Log:
Once again, I somehow missed something from the last commit :(

Modified: branches/release/b21/src/webapp/WEB-INF/templates/screens/IssueList.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/release/b21/src/webapp/WEB-INF/templates/screens/IssueList.vm?view=diff&rev=10245&p1=branches/release/b21/src/webapp/WEB-INF/templates/screens/IssueList.vm&p2=branches/release/b21/src/webapp/WEB-INF/templates/screens/IssueList.vm&r1=10244&r2=10245
==============================================================================
--- branches/release/b21/src/webapp/WEB-INF/templates/screens/IssueList.vm	(original)
+++ branches/release/b21/src/webapp/WEB-INF/templates/screens/IssueList.vm	2006-08-07 07:44:09-0700
@@ -119,19 +119,16 @@
     <th>$l10n.IssueType</th> 
   #end  
   <th>
-     #if ((!$sortColumn || $sortColumn.length() == 0) && !$sortInternal)
+     #prepIssueListPageLink()
+     #if (!$sortColumn && !$sortInternal )
         #if ($sortPolarity.equals('desc'))
-           #prepIssueListPageLink()
            #set ($arrowLink = $link.setPathInfo('sortPolarity', 'asc').addPathInfo('sortColumn', '').addPathInfo('searchType', $searchType))
-           <a href="$arrowLink"><img src="$staticLink.setPath('/images/icon_downarrow_on.gif')" width="13" height="8" alt="$l10n.SortDescending" title="$l10n.SortDescending" border="0" /></a>&#160;
+           <a href="$arrowLink"><img src="$staticLink.setPath('/images/icon_downarrow_on.gif')" width="13" height="8" alt="$l10n.SortDescending" title="$l10n.SortDescending" border="0" />$l10n.IssueId</a>
         #else
-           #prepIssueListPageLink()
            #set ($arrowLink = $link.setPathInfo("sortPolarity", "desc").addPathInfo("sortColumn", "").addPathInfo("searchType","$searchType"))
-           <a href="$arrowLink"><img src="$staticLink.setPath("/images/icon_uparrow_on.gif")" width="13" height="8" alt="$l10n.SortAscending" title="$l10n.SortAscending" border="0" /></a>&#160;
+           <a href="$arrowLink"><img src="$staticLink.setPath("/images/icon_uparrow_on.gif")" width="13" height="8" alt="$l10n.SortAscending" title="$l10n.SortAscending" border="0" />$l10n.IssueId</a>
         #end
-     $l10n.IssueId
      #else
-        #prepIssueListPageLink()
         #set ($sortLink = $link.setPathInfo("sortColumn","").setPathInfo("sortPolarity", $sortPolarity).addPathInfo("searchType","$searchType"))
         <a href="$sortLink">$l10n.IssueId</a>
      #end
@@ -152,24 +149,29 @@
         #set ($value = $pref.Attribute.Name)
       #end    
     #end
-  	<th>
-        #if ($sortColumn.equals($pref.AttributeId.toString()) || $sortInternal.equals($pref.Name))
-          #if ($sortPolarity.equals("desc"))
-             #prepIssueListPageLink()
-             #set ($arrowLink = $link.setPathInfo("sortPolarity", "asc").setPathInfo($sort, "$sortData").addPathInfo("searchType","$searchType"))
-             <a href="$arrowLink"><img src="$staticLink.setPath("/images/icon_downarrow_on.gif")" width="13" height="8" alt="$l10n.SortDescending" title="$l10n.SortDescending" border="0" /></a>&#160;
-          #else
-            #prepIssueListPageLink()
-            #set ($arrowLink = $link.setPathInfo("sortPolarity", "desc").setPathInfo($sort, "$sortData").addPathInfo("searchType","$searchType"))
-            <a href="$arrowLink"><img src="$staticLink.setPath("/images/icon_uparrow_on.gif")" width="13" height="8" alt="$l10n.SortAscending" title="$l10n.SortAscending" border="0" /></a>&#160;
-          #end
-          $value
+    <th>
+      #prepIssueListPageLink()
+      #if ($sortColumn.equals($pref.AttributeId.toString()) || $sortInternal.equals($pref.Name))
+        #if ($sortPolarity.equals("desc"))
+          #set ($arrowLink = $link.setPathInfo("sortPolarity", "asc").setPathInfo($sort, "$sortData").addPathInfo("searchType","$searchType"))
+          <a href="$arrowLink"><img src="$staticLink.setPath("/images/icon_downarrow_on.gif")" width="13" height="8" alt="$l10n.SortDescending" title="$l10n.SortDescending" border="0" /></a>
+
+          #prepIssueListPageLink()
+          #set ($arrowLink = $link.setPathInfo("sortPolarity", "asc").setPathInfo($sort, "$sortData").addPathInfo("searchType","$searchType"))
+          <a href="$arrowLink">$value</a>
         #else
+          #set ($arrowLink = $link.setPathInfo("sortPolarity", "desc").setPathInfo($sort, "$sortData").addPathInfo("searchType","$searchType"))
+          <a href="$arrowLink"><img src="$staticLink.setPath("/images/icon_uparrow_on.gif")" width="13" height="8" alt="$l10n.SortAscending" title="$l10n.SortAscending" border="0" /></a>
+
           #prepIssueListPageLink()
-          #set ($sortLink = $link.setPathInfo($sort, "$sortData").setPathInfo("sortPolarity", "$sortPolarity").addPathInfo("searchType","$searchType"))
-          <a href="$sortLink">$value</a>
-        #end  	
-  </th>	
+          #set ($arrowLink = $link.setPathInfo("sortPolarity", "asc").setPathInfo($sort, "$sortData").addPathInfo("searchType","$searchType"))
+          <a href="$arrowLink">$value</a>
+        #end
+      #else
+        #set ($sortLink = $link.setPathInfo($sort, "$sortData").setPathInfo("sortPolarity", "$sortPolarity").addPathInfo("searchType","$searchType"))
+        <a href="$sortLink">$value</a>
+      #end  	
+    </th>	
   #end
   </tr> <!-- END of HEADER -->
   <tr> <!-- DATA -->
@@ -187,7 +189,6 @@
   <td>$scarabR.getIssue($record.UniqueId).RModuleIssueType.DisplayName</td> 
   #end
   <td><a href="$link">$record.UniqueId</a></td>
-  $record.populateInternalAttributes($scarabR.RModuleUserAttributes, $l10n)
   #foreach ($value in $record.AttributeValuesAsCSV)
     <td>
     #if ($value.length() == 0)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.