Scarab commit: svn commit: r10696 - trunk/src/webapp/WEB-INF/templates/screens/entry

Johannes Höchstädter <[email protected]>
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: jhoech
Date: 2009-02-16 01:16:57-0800
New Revision: 10696

Modified:
   trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard1.vm
   trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard3.vm

Log:
ENH - ui enhancement: issue type is displayed on each page of the three wizards (not only in wizard2)

Modified: trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard1.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard1.vm?view=diff&pathrev=10696&r1=10695&r2=10696
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard1.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard1.vm	2009-02-16 01:16:57-0800
@@ -1,6 +1,10 @@
 #set ($issue = $scarabR.ReportingIssue)
+#set ($module = $issue.Module)
 
 <div id="wizard1" class="app">
+
+<h3>$l10n.format("NewIssue", $module.getRModuleIssueType($scarabR.CurrentIssueType).DisplayName.toLowerCase())</h3>
+
 <form method="post" name="form" action="$link.setPage("entry,Wizard1.vm").setAction("ReportIssue")">
 <input type="hidden" name="$scarabG.Constant.NEXT_TEMPLATE" value="entry,Wizard3.vm" />
 <input type="hidden" name="$scarabG.Constant.CURRENT_ISSUE_TYPE" value="$scarabR.CurrentIssueType.IssueTypeId" />

Modified: trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard3.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard3.vm?view=diff&pathrev=10696&r1=10695&r2=10696
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard3.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/screens/entry/Wizard3.vm	2009-02-16 01:16:57-0800
@@ -3,6 +3,9 @@
 #set ($issueType = $issue.IssueType)
 
 <div class="app" id="div2-1-0">
+
+<h3>$l10n.format("NewIssue", $module.getRModuleIssueType($issueType).DisplayName.toLowerCase())</h3>
+
 <form method="post" name="form" action="$link.setPage("entry,Wizard3.vm")" enctype="multipart/form-data">
 <input type="hidden" name="action" value="ReportIssue" />

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=1169547
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.