[Rt-commit] r4007 - in rtir/branches/1.9-EXPERIMENTAL: .
html/RTIR/Incident
ruz at bestpractical.com
ruz at bestpractical.com
Mon Oct 31 10:53:02 EST 2005
Author: ruz
Date: Mon Oct 31 10:53:00 2005
New Revision: 4007
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Display.html
Log:
r229 at cubic-pc: cubic | 2005-10-31 18:50:56 +0300
r211 at cubic-pc: cubic | 2005-10-31 11:04:41 +0300
* cleanups, no functionality changes
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Display.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Display.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Display.html Mon Oct 31 10:53:00 2005
@@ -36,9 +36,8 @@
% $m->abort();
%}
-<table border=0 cellpadding=0 cellspacing=2 width=100%>
-<tr>
-<td valign=top width=50%>
+<table border=0 cellpadding=0 cellspacing=2 width=100%><tr><td valign=top width=50%>
+
<& /Widgets/TitleBoxStart, title => loc('Incident #[_1]', $Ticket->Id),
title_href =>"$RT::WebPath/RTIR/Edit.html?id=".$Ticket->Id,
title_class=> 'inverse' &>
@@ -107,98 +106,95 @@
<& /Widgets/TitleBoxEnd &>
-</td>
-<td valign=top>
-<& /Widgets/TitleBoxStart, title => loc('Incident Reports'),
- title_href => "$RT::WebPath/RTIR/Incident/ShowChildren.html?Queue=Incident Reports&id=".$Ticket->Id,
- title_class=> 'inverse',
- titleright => '', color=> "#336633" &>
+</td><td valign=top>
+
+<& /Widgets/TitleBoxStart,
+ title => loc('Incident Reports'),
+ title_href => "$RT::WebPath/RTIR/Incident/ShowChildren.html?Queue=Incident%20Reports&id=".$Ticket->Id,
+ titleright => '',
+ title_class=> 'inverse', color=> "#336633",
+&>
% if ($Ticket->CurrentUserHasRight('ModifyTicket')) {
- <table width=100%>
- <td align="right">
- <font size="-1">| <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Incident Reports">New</a>
- <font size="-1">| <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?ClearRestrictions=1&id=<%$Ticket->Id%>&Queue=Incident Reports"><%loc("Link")%></a> |
- </td></table>
+ <table width=100%><tr><td align="right"><font size="-1">
+ | <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Incident%20Reports"><%loc('New')%></a>
+ | <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?ClearRestrictions=1&id=<%$Ticket->Id%>&Queue=Incident%20Reports"><%loc("Link")%></a> |
+ </font></td></tr></table>
% }
<& /RTIR/Elements/ShowChildren,
- Ticket => $Ticket,
- Queue => 'Incident Reports',
- Rows => 8,
- FullList => $RT::WebPath."/RTIR/Incident/ShowChildren.html?Queue=Incident Reports&id=".$Ticket->id
- &>
+ Ticket => $Ticket,
+ Queue => 'Incident Reports',
+ Rows => 8,
+ FullList => $RT::WebPath."/RTIR/Incident/ShowChildren.html?Queue=Incident Reports&id=".$Ticket->id,
+ &>
<& /Widgets/TitleBoxEnd &>
-</td>
-</tr>
-<tr>
- <TD VALIGN=TOP width=50%>
- <& /Widgets/TitleBoxStart, title => loc('Investigations'),
- title_href => "$RT::WebPath/RTIR/Incident/ShowChildren.html?Queue=Investigations&id=".$Ticket->Id,
- title_class=> 'inverse',
- titleright => '', color=> "#336633" &>
-% if ($Ticket->CurrentUserHasRight('ModifyTicket')) {
+</td></tr><tr><td VALIGN=TOP width=50%>
- <table width=100%><td align="right">
- <font size="-1">| <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Investigations">Launch</a>
- <font size="-1">| <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?ClearRestrictions=1&id=<%$Ticket->Id%>&Queue=Investigations%>"><%loc("Link")%></a> |
- </td></table>
+<& /Widgets/TitleBoxStart, title => loc('Investigations'),
+ title_href => "$RT::WebPath/RTIR/Incident/ShowChildren.html?Queue=Investigations&id=".$Ticket->Id,
+ title_class=> 'inverse',
+ titleright => '', color=> "#336633" &>
+
+% if ($Ticket->CurrentUserHasRight('ModifyTicket')) {
+ <table width=100%><tr><td align="right"><font size="-1">
+ | <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Investigations"><%loc('Launch')%></a>
+ | <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?ClearRestrictions=1&id=<%$Ticket->Id%>&Queue=Investigations%>"><%loc("Link")%></a> |
+ </font></td></tr></table>
% }
- <& /RTIR/Elements/ShowChildren,
- Ticket => $Ticket,
- Queue => 'Investigations',
- Rows => 8,
- FullList => $RT::WebPath."/RTIR/Incident/ShowChildren.html?Queue=Investigations&id=".$Ticket->id
- &>
- <& /Widgets/TitleBoxEnd &>
- </td>
- <TD VALIGN=TOP width=50%>
-
- <& /Widgets/TitleBoxStart, title => loc('Blocks'),
- title_href => "$RT::WebPath/RTIR/Incident/ShowChildren.html?Queue=Blocks&id=".$Ticket->Id,
- title_class=> 'inverse',
- titleright => '', color=> "#336633" &>
+<& /RTIR/Elements/ShowChildren,
+ Ticket => $Ticket,
+ Queue => 'Investigations',
+ Rows => 8,
+ FullList => $RT::WebPath."/RTIR/Incident/ShowChildren.html?Queue=Investigations&id=".$Ticket->id,
+&>
+
+</td><td VALIGN=TOP width=50%>
+
+<& /Widgets/TitleBoxStart, title => loc('Blocks'),
+ title_href => "$RT::WebPath/RTIR/Incident/ShowChildren.html?Queue=Blocks&id=".$Ticket->Id,
+ title_class=> 'inverse',
+ titleright => '', color=> "#336633" &>
% if ($Ticket->CurrentUserHasRight('ModifyTicket')) {
- <table width=100%><td align="right">
- <font size="-1">| <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Blocks">New</a>
- <font size="-1">| <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?ClearRestrictions=1&id=<%$Ticket->Id%>&Queue=Blocks>"><%loc("Link")%></a> |
- </td></table>
+ <table width=100%><tr><td align="right"><font size="-1">
+ | <a href="<%$RT::WebPath%>/RTIR/Create.html?Incident=<%$Ticket->Id%>&Queue=Blocks"><%loc('New')%></a>
+ | <a href="<%$RT::WebPath%>/RTIR/Incident/LinkChildren.html?ClearRestrictions=1&id=<%$Ticket->Id%>&Queue=Blocks>"><%loc("Link")%></a> |
+ </font></td></tr></table>
% }
- <& /RTIR/Elements/ShowChildren,
- Ticket => $Ticket,
- Queue => 'Blocks',
- Rows => 8,
- FullList => $RT::WebPath."/RTIR/Incident/ShowChildren.html?Queue=Blocks&id=".$Ticket->id &>
- <& /Widgets/TitleBoxEnd &>
- </td>
-</tr>
-<tr>
-<td colspan=2>
- <& /Widgets/TitleBoxStart, title => loc("Dates"),
- title_href =>"$RT::WebPath/RTIR/Edit.html?id=".$Ticket->Id,
- title_class=> 'inverse',
- color => "#663366" &>
- <& /RTIR/Elements/ShowDates, Ticket => $Ticket &>
- <& /Widgets/TitleBoxEnd &>
- <BR>
- <& /Ticket/Elements/ShowAttachments, Ticket => $Ticket,
- Attachments => $attachments &>
+<& /RTIR/Elements/ShowChildren,
+ Ticket => $Ticket,
+ Queue => 'Blocks',
+ Rows => 8,
+ FullList => $RT::WebPath."/RTIR/Incident/ShowChildren.html?Queue=Blocks&id=".$Ticket->id,
+&>
- <& /Ticket/Elements/ShowRequestor, Ticket => $Ticket, DisplayPath => "/RTIR/Display.html" &>
+<& /Widgets/TitleBoxEnd &>
+</td></tr><tr><td colspan=2>
+
+<& /Widgets/TitleBoxStart, title => loc("Dates"),
+ title_href =>"$RT::WebPath/RTIR/Edit.html?id=".$Ticket->Id,
+ title_class=> 'inverse',
+ color => "#663366" &>
+<& /RTIR/Elements/ShowDates, Ticket => $Ticket &>
+<& /Widgets/TitleBoxEnd &>
+
+<br />
+
+<& /Ticket/Elements/ShowAttachments, Ticket => $Ticket, Attachments => $attachments &>
+<& /Ticket/Elements/ShowRequestor, Ticket => $Ticket, DisplayPath => "/RTIR/Display.html" &>
+
+</td></tr></table>
- </TD>
- </TR>
-</table>
<& /Ticket/Elements/ShowHistory ,
- Ticket => $Ticket,
- Collapsed => $ARGS{'Collapsed'},
- ShowHeaders => $ARGS{'ShowHeaders'},
- UpdatePath => "$RT::WebPath/RTIR/Update.html",
+ Ticket => $Ticket,
+ Collapsed => $ARGS{'Collapsed'},
+ ShowHeaders => $ARGS{'ShowHeaders'},
+ UpdatePath => "$RT::WebPath/RTIR/Update.html",
&>
More information about the Rt-commit
mailing list