Scarab commit: svn commit: r10812 - trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm
Hussayn Dabbous <[email protected]>
| Newsgroups | gmane.comp.java.scarab.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dabbous
Date: 2009-07-19 15:24:14-0700
New Revision: 10812
Modified:
trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm
Log:
SCB2977: removed all archivingusers from the quick-assign list of available users.
The reason why i added this is: archive users always get notified anyways and archiving userts
should not be "real users" but thy should be reserved as archivers, hence they don't need to
be available from the quick assign list. That may be a questionable decision. Please give
feedback...
Modified: trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm?view=diff&pathrev=10812&r1=10811&r2=10812
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm (original)
+++ trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm 2009-07-19 15:24:14-0700
@@ -96,10 +96,13 @@
<input type="hidden" name="issue_ids" value="$currentIssueId" />
## Create a selection box
+ #set ($archivingScarabUsers = $module.getArchivingScarabUsers())
#foreach ($user in $users)
+ #if (!$archivingScarabUsers.contains($user))
#set ($optionName = "user_attr_" + $user.UserId)
#set ($attributeId = $assignedAttrib.AttributeId)
<input type="hidden" name="$optionName" value="$attributeId"/>
+ #end
#end
<select name="add_user">
#if ( $assignedUserId == -1 )
@@ -107,8 +110,10 @@
#end
#foreach ($user in $users)
+ #if (!$archivingScarabUsers.contains($user))
#set ($selected = ($user.UserId == $assignedUserId))
<option value="$user.UserId" #selected($selected) >$user.Name</option>
+ #end
#end
</select>
#else
------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2372468