[freeside-commits] freeside/rt/share/html/Ticket/Elements Tabs, 1.3, 1.4 ShowMembers_Checklist, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Wed Jul 28 20:41:42 PDT 2010
Update of /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Elements
In directory wavetail.420.am:/tmp/cvs-serv12179/share/html/Ticket/Elements
Modified Files:
Tabs
Added Files:
ShowMembers_Checklist
Log Message:
start of checklist/workflow, RT#8805
Index: Tabs
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Elements/Tabs,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- Tabs 18 May 2010 19:20:29 -0000 1.3
+++ Tabs 29 Jul 2010 03:41:40 -0000 1.4
@@ -142,6 +142,10 @@
title => loc('Links'),
path => "Ticket/ModifyLinks.html?id=" . $id,
},
+ _Ea => {
+ title => loc('Checklist'),
+ path => "Ticket/Checklist.html?id=" . $id,
+ },
_Eb=> {
title => loc('Customers'),
path => "Ticket/ModifyCustomers.html?id=" . $id,
--- NEW FILE: ShowMembers_Checklist ---
<style type="text/css">
ul.checklist {
list-style-type: none
}
</style>
<ul class="checklist">
% while (my $link = $members->Next) {
<li><& /Elements/ShowLink_Checklist, URI => $link->BaseURI &><br />
% if ($depth < 8) { #why only 8?
<& /Ticket/Elements/ShowMembers_Checklist, Ticket => $link->BaseObj, depth => ($depth+1) &>
% }
</li>
% }
</ul>
<%INIT>
return unless $Ticket;
my $members = $Ticket->Members;
return unless $members->Count;
</%INIT>
<%ARGS>
$Ticket => undef
$depth => 1
</%ARGS>
More information about the freeside-commits
mailing list