Scarab commit: svn commit: r10563 - 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-07 00:06:19-0700
New Revision: 10563

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

Log:
Issue SCB2539:  (View versus Edit screen of "Attributes" for logged-in user)
 need to show the done button to add comment even if not in edit attributes mode.

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=10563&p1=trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm&p2=trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm&r1=10562&r2=10563
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueTab1.vm	2008-05-07 00:06:19-0700
@@ -167,13 +167,16 @@
     </div>

    #end

 

-   #if($canEdit)

+   #if($canEdit || $canAddComment)

     <div class="functnbar3">

      #if(!$isEditAttributes)

         <input type="submit" value="$l10n.Edit" name="eventSubmit_doEditattributespage" />

-     #elseif($isEditAttributes || $canAddComment)

+     #end

+     #if($isEditAttributes || $canAddComment)

       <input type="submit" value="$l10n.Done" name="eventSubmit_doSubmitattributes" />

-      <input type="submit" value="$l10n.Cancel" name="eventSubmit_doCancel" />

+      #if($isEditAttributes)

+        <input type="submit" value="$l10n.Cancel" name="eventSubmit_doCancel" />

+      #end

      #end

     </div>

   #end
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.