X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fcontact.html;h=88f8afb4c75f2a6d1868f716617805a934a637dc;hb=9aa198dfc90054de34cf1af8f3238d004416ebc9;hp=fe8b71534bfdab28d6251efcc0b2665276ec92bc;hpb=63973c641c4be00765fa27e55c57cc5b9aa4da19;p=freeside.git diff --git a/httemplate/view/cust_main/packages/contact.html b/httemplate/view/cust_main/packages/contact.html index fe8b71534..88f8afb4c 100644 --- a/httemplate/view/cust_main/packages/contact.html +++ b/httemplate/view/cust_main/packages/contact.html @@ -1,23 +1,24 @@ % if ( $contact ) { <% $contact->line |h %> -% if ( $show_change_link ) { +% if ( $show_change_link && ! $opt{no_links} ) { ( <%pkg_change_contact_link($cust_pkg)%> ) % } -% if ( $show_detach_link ) { +% if ( $show_detach_link && ! $opt{no_links} ) { ( <%pkg_detach_link($cust_pkg)%> ) % } -% } elsif ( $show_contact_link ) { +
+% } elsif ( $show_contact_link && ! $opt{no_links} ) { ( <%pkg_add_contact_link($cust_pkg)%> ) +
% } <%init> -my $conf = new FS::Conf; my %opt = @_; my $cust_pkg = $opt{'cust_pkg'}; @@ -71,7 +72,7 @@ sub pkg_detach_link { 'actionlabel' => emt('Detach'), 'cust_pkg' => $cust_pkg, 'width' => 616, - 'height' => 684, + 'height' => 720, ); }