X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=308b846bcea9e28bfd87049fa427174a1e73f775;hb=50cc2b95894b151599b458462dcd83edb68980ce;hp=faee7ead445c627d9147fd29461e2410ea6f06de;hpb=74dcfa11ddacefb8349a2811525f704284b13b2b;p=freeside.git
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index faee7ead4..308b846bc 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -1,4 +1,6 @@
-% unless ( $opt{'js_only'} ) {
+% if ( $opt{'js_only'} ) {
+<% $js %>
+% } else {
@@ -40,9 +42,12 @@
% }
% } elsif ( $field eq 'emailaddress' ) {
% $value = join(', ', map $_->emailaddress, $contact->contact_email);
+% } elsif ( $field eq 'password' ) {
+% $value = $contact->get('_password') ? '********' : '';
% } elsif ( $field eq 'selfservice_access'
% or $field eq 'comment'
-% or $field eq 'invoice_dest' ) {
+% or $field eq 'invoice_dest'
+% or $field eq 'message_dest' ) {
% $value = $X_contact->get($field);
% } else {
% $value = $contact->get($field);
@@ -55,30 +60,27 @@
ID = "<%$id%>_<%$field%>"
STYLE = "width: 140px"
>
-