1 package org.tigris.scarab.screens; 2 3 48 49 import org.apache.commons.lang.StringUtils; 50 import org.apache.turbine.RunData; 51 import org.apache.turbine.TemplateContext; 52 53 import org.tigris.scarab.tools.ScarabLocalizationTool; 54 import org.tigris.scarab.tools.ScarabRequestTool; 55 56 63 public class IssueList extends Default { 64 68 protected String getTitle(ScarabRequestTool scarabR, 69 ScarabLocalizationTool l10n) 70 throws Exception 71 { 72 if (scarabR.getQuery() != null 73 && StringUtils.isNotBlank(scarabR.getQuery().getName())) 74 { 75 return l10n.format("IssueList.vm.TitleWithQueryName", 76 scarabR.getQuery().getName()); 77 } 78 else 79 { 80 return super.getTitle(scarabR,l10n); 81 } 82 } 83 } 84 | Popular Tags |