projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import rt 3.6.4
[freeside.git]
/
rt
/
html
/
Approvals
/
Elements
/
ShowDependency
diff --git
a/rt/html/Approvals/Elements/ShowDependency
b/rt/html/Approvals/Elements/ShowDependency
index
e8d0b00
..
6da28f1
100644
(file)
--- a/
rt/html/Approvals/Elements/ShowDependency
+++ b/
rt/html/Approvals/Elements/ShowDependency
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-200
5
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-200
7
Best Practical Solutions, LLC
%# <jesse@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <jesse@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-22,7
+22,9
@@
%#
%# You should have received a copy of the GNU General Public License
%# along with this program; if not, write to the Free Software
%#
%# You should have received a copy of the GNU General Public License
%# along with this program; if not, write to the Free Software
-%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+%# 02110-1301 or visit their web page on the internet at
+%# http://www.gnu.org/copyleft/gpl.html.
%#
%#
%# CONTRIBUTION SUBMISSION POLICY:
%#
%#
%# CONTRIBUTION SUBMISSION POLICY:
@@
-47,9
+49,9
@@
% if ($approving->Count) {
<h3><&|/l&>Tickets which depend on this approval:</&></h3>
% if ($approving->Count) {
<h3><&|/l&>Tickets which depend on this approval:</&></h3>
-<table width=
100%
>
-<
TR
>
-<
TD WIDTH="25" bgcolor="#999999"> </TD><TD
>
+<table width=
"100%"
>
+<
tr
>
+<
td width="25" bgcolor="#999999"> </td><td
>
<%PERL>
my %show;
while (my $link = $approving->Next()) {
<%PERL>
my %show;
while (my $link = $approving->Next()) {
@@
-60,22
+62,22
@@
while (my $link = $approving->Next()) {
my $dep = $m->scomp('ShowDependency', Ticket => $link->BaseObj, _seen => $_seen);
if ($type eq 'approval') {
my $dep = $m->scomp('ShowDependency', Ticket => $link->BaseObj, _seen => $_seen);
if ($type eq 'approval') {
- $head .= $m->scomp('/
Elemen
ts/TitleBoxStart', title => loc("Approval #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
+ $head .= $m->scomp('/
Widge
ts/TitleBoxStart', title => loc("Approval #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
$text .= $head;
$text .= $m->scomp('/Ticket/Elements/ShowCustomFields', Ticket => $link->BaseObj);
} elsif ($type eq 'ticket') {
$text .= $head;
$text .= $m->scomp('/Ticket/Elements/ShowCustomFields', Ticket => $link->BaseObj);
} elsif ($type eq 'ticket') {
- $head .= $m->scomp('/
Elemen
ts/TitleBoxStart', title => loc("Ticket #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
+ $head .= $m->scomp('/
Widge
ts/TitleBoxStart', title => loc("Ticket #[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
$text .= $head;
$text .= $m->scomp('/Ticket/Elements/ShowSummary', Ticket => $link->BaseObj);
} else {
$text .= $head;
$text .= $m->scomp('/Ticket/Elements/ShowSummary', Ticket => $link->BaseObj);
} else {
- $head .= $m->scomp('/
Elemen
ts/TitleBoxStart', title => loc("#[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
+ $head .= $m->scomp('/
Widge
ts/TitleBoxStart', title => loc("#[_1]: [_2]", $link->BaseObj->Id, $link->BaseObj->Subject));
$text .= $head;
}
$text .= $m->scomp('/Ticket/Elements/ShowHistory' , Ticket => $link->BaseObj, Collapsed => ($type ne 'ticket'), ShowTitle => 0, ShowHeaders => 0, ShowDisplayModes => 0, ShowTitleBarCommands => 0);
$text .= $head;
}
$text .= $m->scomp('/Ticket/Elements/ShowHistory' , Ticket => $link->BaseObj, Collapsed => ($type ne 'ticket'), ShowTitle => 0, ShowHeaders => 0, ShowDisplayModes => 0, ShowTitleBarCommands => 0);
- $head .= $m->scomp('/
Elemen
ts/TitleBoxEnd');
- $text .= $m->scomp('/
Elemen
ts/TitleBoxEnd');
+ $head .= $m->scomp('/
Widge
ts/TitleBoxEnd');
+ $text .= $m->scomp('/
Widge
ts/TitleBoxEnd');
$text .= $dep;
$text .= '</a>';
$show{$link->BaseObj->Id} = {
$text .= $dep;
$text .= '</a>';
$show{$link->BaseObj->Id} = {
@@
-96,9
+98,9
@@
foreach my $id (sort keys %show) {
$m->print($refer);
</%PERL>
$m->print($refer);
</%PERL>
-</
TD
>
-</
TR
>
-</
TABLE
>
+</
td
>
+</
tr
>
+</
table
>
% }
<%ARGS>
% }
<%ARGS>