Skip to content

Commit a066408

Browse files
committed
Add link
1 parent af5c565 commit a066408

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

myaccount/dist/css/myaccount.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ label.nobold {
1717
display: inline-grid;
1818
}
1919

20+
21+
.paddingrightonly {
22+
padding-right: 4px;
23+
}
24+
25+
2026
.jnotify-container {
2127
position: fixed !important;
2228
text-align: center;

myaccount/tpl/mycustomerinstances.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250

251251
// Customer (link to login on customer dashboard)
252252
print '<span class="opacitymedium">'.$langs->trans("Customer").' : </span>'.$tmpcustomer->name;
253-
print ' &nbsp; - &nbsp; '.dol_print_email($tmpcustomer->email, 0, 0, 0, 0, 1, 1);
253+
print ' &nbsp; - &nbsp; '.dol_print_email($tmpcustomer->email, 0, 0, 1, 0, 1, 1);
254254
// Add link to login to dashboard with customer account
255255
/*
256256
$dol_login_hash = dol_hash(getDolGlobalString('SELLYOURSAAS_KEYFORHASH') . $tmpcustomer->email.dol_print_date(dol_now(), 'dayrfc'), 5); // hash is valid one hour

myaccount/tpl/mymodulecustomerinstances.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254

255255
// Customer (link to login on customer dashboard)
256256
print '<span class="opacitymedium">'.$langs->trans("Customer").' : </span>'.$tmpcustomer->name;
257-
print ' &nbsp; - &nbsp; '.dol_print_email($tmpcustomer->email, 0, 0, 0, 0, 1, 1);
257+
print ' &nbsp; - &nbsp; '.dol_print_email($tmpcustomer->email, 0, 0, 1, 0, 1, 1);
258258
print '<br>';
259259

260260
// URL

0 commit comments

Comments
 (0)