Scarab commit: svn commit: r11264 - branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templates/navigations/CommonLinks.vm

[email protected] Wed, 16 May 2012 08:36:27 -0700 (PDT)
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2012-05-16 08:36:27-0700
New Revision: 11264

Modified:
   branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templates/navigations/CommonLinks.vm

Log:
fixes for modern skin (better readability) navigation block titles

Modified: branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templates/navigations/CommonLinks.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templates/navigations/CommonLinks.vm?view=diff&pathrev=11264&r1=11263&r2=11264
==============================================================================
--- branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templates/navigations/CommonLinks.vm	(original)
+++ branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templates/navigations/CommonLinks.vm	2012-05-16 08:36:27-0700
@@ -19,6 +19,7 @@
 #set ($module = $scarabR.CurrentModule)
 #set ($user   = $scarabR.currentUser)
 #set ($moduleIssueTypes = $module.IssueTypes)
+#set ($queryCount = 15)
 
 #if ($moduleIssueTypes.isEmpty() || $module.isGlobalModule() )
    #set ($moduleHasIssueTypes = false)
@@ -113,13 +114,13 @@
     #if (!$module.isGlobalModule())
       #if ($scarabR.hasPermission($scarabG.Permission.ISSUE__SEARCH, $module))
         #set ($currentQueryId = $data.Parameters.go) 
-        <div style="font-weight:bold;">$link.addPathInfo("go","privateQueries").setPage("QueryList.vm").setLabel("$l10n.EditPrivateQueries ...")</div>
+        <div class="list-header">$link.addPathInfo("go","privateQueries").setPage("QueryList.vm").setLabel("$l10n.EditPrivateQueries ...")</div>
        
         #set ($queries = $scarabR.UserAllQueries)
         #set ($counter = 0 )
         #foreach ($query in $queries)
           #set ($counter = $counter + 1 )
-          #if ($counter > 7 )
+          #if ($counter > $queryCount )
             <div class="sublist" >$link.addPathInfo("go","privateQueries").setPage("QueryList.vm").setLabel("...")</div>
             #break
           #else
@@ -127,13 +128,13 @@
           #end
         #end
        
-        <div style="font-weight:bold;">$link.addPathInfo("go","publicQueries").setPage("QueryList.vm").setLabel("$l10n.EditPublicQueries ...")</div>
+        <div class="list-header">$link.addPathInfo("go","publicQueries").setPage("QueryList.vm").setLabel("$l10n.EditPublicQueries ...")</div>
 
         #set ($queries = $scarabR.GlobalQueries)
         #set ($counter = 0 )
         #foreach ($query in $queries)
           #set ($counter = $counter + 1 )
-          #if ($counter > 7 )
+          #if ($counter > $queryCount )
             <div class="sublist">$link.addPathInfo("go","publicQueries").setPage("QueryList.vm").setLabel("...")</div>
             #break
           #else

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