[freeside-commits] freeside/httemplate/edit part_export.cgi, 1.31, 1.31.2.1 part_svc.cgi, 1.71.2.2, 1.71.2.3
Mark Wells
mark at wavetail.420.am
Mon Nov 8 13:42:46 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv14507/httemplate/edit
Modified Files:
Tag: FREESIDE_2_1_BRANCH
part_export.cgi part_svc.cgi
Log Message:
export names, RT#9827
Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_svc.cgi,v
retrieving revision 1.71.2.2
retrieving revision 1.71.2.3
diff -u -w -d -r1.71.2.2 -r1.71.2.3
--- part_svc.cgi 8 Nov 2010 20:00:37 -0000 1.71.2.2
+++ part_svc.cgi 8 Nov 2010 21:42:44 -0000 1.71.2.3
@@ -116,8 +116,12 @@
% && qsearchs( 'export_svc', {
% exportnum => $part_export->exportnum,
% svcpart => $clone || $part_svc->svcpart });
-% $html .= '>'. $part_export->exportnum. ': '. $part_export->exporttype.
-% ' to '. $part_export->machine. '</TD>';
+% $html .= '>'.$part_export->exportnum. ': ';
+% $html .= $part_export->exportname . '<DIV ALIGN="right"><FONT SIZE=-1>'
+% if ( $part_export->exportname );
+% $html .= $part_export->exporttype. ' to '. $part_export->machine;
+% $html .= '</FONT></DIV>' if ( $part_export->exportname );
+% $html .= '</TD>';
% $count++;
% $html .= '</TR><TR>' unless $count % $columns;
% }
Index: part_export.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_export.cgi,v
retrieving revision 1.31
retrieving revision 1.31.2.1
diff -u -w -d -r1.31 -r1.31.2.1
--- part_export.cgi 27 Oct 2010 01:49:29 -0000 1.31
+++ part_export.cgi 8 Nov 2010 21:42:44 -0000 1.31.2.1
@@ -7,6 +7,12 @@
<% ntable("#cccccc",2) %>
<TR>
+ <TD ALIGN="right">Export name</TD>
+ <TD>
+ <INPUT TYPE="text" NAME="exportname" VALUE="<% $part_export->exportname %>">
+ </TD>
+</TR>
+<TR>
<TD ALIGN="right">Export host</TD>
<TD>
<INPUT TYPE="text" NAME="machine" VALUE="<% $part_export->machine %>">
@@ -53,7 +59,7 @@
'options' => \%layers,
'form_name' => 'dummy',
'form_action' => 'process/part_export.cgi',
- 'form_text' => [qw( exportnum machine )],
+ 'form_text' => [qw( exportnum exportname machine )],
# 'form_checkbox' => [qw()],
'html_between' => "</TD></TR></TABLE>\n",
'layer_callback' => sub {
More information about the freeside-commits
mailing list