projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
httemplate
/
view
/
cust_main
/
packages
/
contact.html
diff --git
a/httemplate/view/cust_main/packages/contact.html
b/httemplate/view/cust_main/packages/contact.html
index
fe8b715
..
88f8afb
100644
(file)
--- 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 ( $contact ) {
<% $contact->line |h %>
-% if ( $show_change_link ) {
+% if ( $show_change_link
&& ! $opt{no_links}
) {
<FONT SIZE=-1>
( <%pkg_change_contact_link($cust_pkg)%> )
</FONT>
% }
<FONT SIZE=-1>
( <%pkg_change_contact_link($cust_pkg)%> )
</FONT>
% }
-% if ( $show_detach_link ) {
+% if ( $show_detach_link
&& ! $opt{no_links}
) {
<FONT SIZE=-1>
( <%pkg_detach_link($cust_pkg)%> )
</FONT>
% }
<FONT SIZE=-1>
( <%pkg_detach_link($cust_pkg)%> )
</FONT>
% }
-% } elsif ( $show_contact_link ) {
+ <BR>
+% } elsif ( $show_contact_link && ! $opt{no_links} ) {
<FONT SIZE=-1>
( <%pkg_add_contact_link($cust_pkg)%> )
</FONT>
<FONT SIZE=-1>
( <%pkg_add_contact_link($cust_pkg)%> )
</FONT>
+ <BR>
% }
<%init>
% }
<%init>
-my $conf = new FS::Conf;
my %opt = @_;
my $cust_pkg = $opt{'cust_pkg'};
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,
'actionlabel' => emt('Detach'),
'cust_pkg' => $cust_pkg,
'width' => 616,
- 'height' =>
684
,
+ 'height' =>
720
,
);
}
);
}