diff options
author | mark <mark> | 2010-11-07 07:07:06 +0000 |
---|---|---|
committer | mark <mark> | 2010-11-07 07:07:06 +0000 |
commit | 5ac9e46a92f4eefd795f97643f3e8f62ec1a2b26 (patch) | |
tree | 15d05e369276ceb5545daf098bfa7e8b512f18e0 /httemplate/edit | |
parent | cd91e59d897b1359dd91b2b9e5e7e008d2dbd9ed (diff) |
export names, RT#9827
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/part_export.cgi | 8 | ||||
-rwxr-xr-x | httemplate/edit/part_svc.cgi | 8 |
2 files changed, 13 insertions, 3 deletions
diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi index a2fad56a3..32ed1fc94 100644 --- a/httemplate/edit/part_export.cgi +++ b/httemplate/edit/part_export.cgi @@ -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 @@ my $widget = new HTML::Widgets::SelectLayers( '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 { diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index e14acb5a9..fcffc4f56 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -114,8 +114,12 @@ that field. % && 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; % } |