diff options
Diffstat (limited to 'httemplate/view/prospect_main.html')
-rw-r--r-- | httemplate/view/prospect_main.html | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/httemplate/view/prospect_main.html b/httemplate/view/prospect_main.html index f4b2f58ee..d92d27097 100644 --- a/httemplate/view/prospect_main.html +++ b/httemplate/view/prospect_main.html @@ -23,10 +23,12 @@ </TR> %} -<TR> - <TD ALIGN="right">Company</TD> - <TD BGCOLOR="#FFFFFF"><B><% $prospect_main->company |h %></B></TD> -</TR> +% if ( $prospect_main->company ) { + <TR> + <TD ALIGN="right">Company</TD> + <TD BGCOLOR="#FFFFFF"><B><% $prospect_main->company |h %></B></TD> + </TR> +% } % foreach my $contact ( $prospect_main->contact ) { <TR> @@ -58,14 +60,14 @@ % if ( $curuser->access_right('Qualify service') ) { <% include( '/elements/popup_link-prospect_main.html', - 'action' => $p. 'misc/qual.html', - 'label' => 'New Qualification', - 'actionlabel' => 'New Qualification', - 'color' => '#333399', - 'prospect_main' => $prospect_main, - 'closetext' => 'Close', - 'width' => 763, - 'height' => 436, + 'action' => $p. 'misc/qual.html', + 'label' => 'New Qualification', + 'actionlabel' => 'New Qualification', + 'color' => '#333399', + 'prospect_main' => $prospect_main, + 'closetext' => 'Close', + 'width' => 763, + 'height' => 436, ) %> | <A HREF="<%$p%>search/qual.cgi?prospectnum=<% $prospect_main->prospectnum %>">View Qualifications</A> |