X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=779905234381c54dd209e8ce822fd80bd97f9eb7;hb=6016bc83d369186275044bd8539f66a3cb03c4cb;hp=b3e5353448b6bd7b2ad2c44e7492ccb06aebc136;hpb=f1f423f3cb29a9d4ca8029d8b58f0111db0f1957;p=freeside.git diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index b3e535344..779905234 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -2,9 +2,9 @@ -
% } else { @@ -31,7 +31,7 @@ % 'phonetypenum' => $1, % }); % if ( $contact_phone ) { -% $value = $contact_phone->phonenum; +% $value = $contact_phone->phonenum_pretty; % $value .= 'x'.$contact_phone->extension % if $contact_phone->extension; % $value = '+'. $contact_phone->countrycode. " $value" @@ -45,17 +45,49 @@ % } |
- "
- <% $onchange %>
- > +% if ( $field eq 'selfservice_access' ) { + + +% } else { + " + <% $onchange %> + > +% } + <% $label{$field} %> |
% }
+% my $pwd_change_label = 'change password';
+% $pwd_change_label = 'setup password' unless $contact->_password;
+% if ($curr_value) {
+
+
+ <& /elements/change_password.html,
+ 'contact_num' => $curr_value,
+ 'custnum' => $opt{'custnum'},
+ 'curr_value' => '',
+ 'label' => $pwd_change_label,
+ &>
+
+ + Password + |
+% }