diff options
author | Mark Wells <mark@freeside.biz> | 2015-12-30 18:51:09 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-12-30 18:51:09 -0800 |
commit | 62e6a2b1c99086f3a9097f2d9d29fd8c414564b8 (patch) | |
tree | 786731c983966562e39e5905af31b56c319baf8e /httemplate | |
parent | 44e840908ac339de1c9d430e9565e03d4bfa5ec3 (diff) |
add option for exports to avoid suspending services, #20739
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/browse/part_export.cgi | 5 | ||||
-rw-r--r-- | httemplate/edit/part_export.cgi | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/browse/part_export.cgi b/httemplate/browse/part_export.cgi index af988d37b..bbb723dbf 100755 --- a/httemplate/browse/part_export.cgi +++ b/httemplate/browse/part_export.cgi @@ -38,6 +38,11 @@ function part_export_areyousure(href) { <TD CLASS="grid" BGCOLOR="<% $bgcolor %>"> <% $part_export->label_html %> (<A HREF="<% $p %>edit/part_export.cgi?<% $part_export->exportnum %>">edit</A> | <A HREF="javascript:part_export_areyousure('<% $p %>misc/delete-part_export.cgi?<% $part_export->exportnum %>')">delete</A>) +% if ( $part_export->no_suspend ) { + <P STYLE="position: absolute"> + This export will not suspend services. + </P> +% } % if ( my @actions = $part_export->actions ) { <P STYLE="position: absolute"> Management: diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi index 382093116..5411feb5f 100644 --- a/httemplate/edit/part_export.cgi +++ b/httemplate/edit/part_export.cgi @@ -285,6 +285,11 @@ my $widget = new HTML::Widgets::SelectLayers( $html .= '</TD></TR>'; } + $html .= '<TR><TD ALIGN="right">Do not suspend services</TD>' . + '<TD><INPUT TYPE="checkbox" NAME="no_suspend" VALUE="Y"'; + $html .= ' CHECKED' if $part_export->no_suspend eq 'Y'; + $html .= '></TD></TR>'; + $html .= '</TABLE>'; # false laziness with config_element above |