Scarab commit: svn commit: r11280 - branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templates/screens/ViewIssue.vm
[email protected] Sat, 9 Jun 2012 02:48:32 -0700 (PDT)
| Newsgroups | gmane.comp.java.scarab.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dabbous
Date: 2012-06-09 02:48:32-0700
New Revision: 11280
Modified:
branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/template=
s/screens/ViewIssue.vm
Log:
fix wrong call to ScarabR.getIssue()
Modified: branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/t=
emplates/screens/ViewIssue.vm
Url: http://scarab.tigris.org/source/browse/scarab/branches/scarab_11079_le=
gacy_with_ant_maven1/src/webapp/WEB-INF/templates/screens/ViewIssue.vm?view=
=3Ddiff&pathrev=3D11280&r1=3D11279&r2=3D11280
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templat=
es/screens/ViewIssue.vm=09(original)
+++ branches/scarab_11079_legacy_with_ant_maven1/src/webapp/WEB-INF/templat=
es/screens/ViewIssue.vm=092012-06-09 02:48:32-0700
@@ -1,8 +1,8 @@
##
## This template needs to get the following variables in the context:
-## =C2=B7 currentIssue: Issue object the user is trying to View.
-## =C2=B7 hasViewPermission: true if the user has view permissions for thi=
s issue. False if not.
-## =C2=B7 hasDeletePermission: true if the user has permission to delete i=
ssues in this modue.
+## ? currentIssue: Issue object the user is trying to View.
+## ? hasViewPermission: true if the user has view permissions for this iss=
ue. False if not.
+## ? hasDeletePermission: true if the user has permission to delete issues=
in this modue.
##
##
=20
@@ -25,7 +25,7 @@
#printCollisionInfo()
#end
=20
-#if ($currentIssue && $hasViewPermission && !$currentIssue.Deleted && !$cu=
rrentIssue.Moved)
+#if ($currentIssue && $hasViewPermission && !$currentIssue.Deleted && !$cu=
rrentIssue.Moved )
=20
#if ($currentIssue.Module !=3D $scarabR.CurrentModule)
<p class=3D"infomark"><em>
@@ -162,9 +162,9 @@
#elseif (!$collisionDetectedOnMoveAttempt)
<div align=3D"right">
#set ($currentIssue =3D $scarabR.getIssue($currentIssueId))
- #set ($newIssue =3D $scarabR.getIssue($currentIssueId, true).IssueNe=
wId)
+ #set ($newIssue =3D $scarabR.getIssue($currentIssueId).IssueNewId)
#if ($newIssue && $newIssue!=3D$currentIssueId) ## There's a newiss=
ueid, not the current one
- $l10n.format("IssueIsNowLocatedIn", $link.getIssueIdLink($scarabR.=
getIssue($newIssue, true)), $newIssue)
+ $l10n.format("IssueIsNowLocatedIn", $link.getIssueIdLink($scarabR.=
getIssue($newIssue)), $newIssue)
#elseif (!$currentIssue.Moved )
<h3>$l10n.IssueSearchResults</h3>
#if ($currentIssueId && $currentIssueId.length() > 0)
------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D3577&dsMessageId=3D2=
969974