X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=308b846bcea9e28bfd87049fa427174a1e73f775;hb=c2dbe36096332d1e09bc58d7d9903e05247f0c9b;hp=850c2540d6156c882c95446c2819bd984050b923;hpb=59776b97e0d82e30e9a50c76d16f302309fff76d;p=freeside.git
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 850c2540d..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"
>
-