Scarab commit: svn commit: r10561 - trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: hair
Date: 2008-05-05 15:03:30-0700
New Revision: 10561

Modified:
   trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm

Log:
there is no point in #asterisk and #showAsterisk (that is "* indicates required fields")
 when the screen is in read only display.

Modified: trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm?view=diff&rev=10561&p1=trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm&p2=trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm&r1=10560&r2=10561
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm	2008-05-05 15:03:30-0700
@@ -42,7 +42,7 @@
     #foreach ($group in $issueType.getAttributeGroups($module, true))

       #set ($attributes = $group.Attributes)

       #if ($attributes && !$attributes.isEmpty())

-        <h4>$group.Name #asterisk()</h4>

+        <h4>$group.Name #if ($isEditAttributes)#asterisk()#end</h4>

         <table cellpadding="3" cellspacing="2" border="0" width="100%">

           #foreach ($att in $attributes)

             #set ($rma = $module.getRModuleAttribute($att, $issueType))

@@ -140,7 +140,7 @@
   </div>

  

   #if ($isEditAttributes || $canAddComment)

-    <h4>$l10n.SaveChanges #asterisk()</h4>

+    <h4>$l10n.SaveChanges#if($module.isIssueReasonRequired()) #asterisk()#end</h4>

     <div class="axial">

       #set ($attCommentGroup = $intake.Attachment.setKey("attCommentKey$currentIssue.QueryKey"))
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.