summaryrefslogtreecommitdiff
path: root/resources/views/emails
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-05-15 20:41:09 +0100
committerGreg Roach <fisharebest@webtrees.net>2018-05-20 14:58:57 +0100
commitbc241c54273892142cd7cd386c7e97823e1415df (patch)
tree8f4bb66ed5ebad16fe69700828de0900ce3dcb07 /resources/views/emails
parent8718dca86ec1db996579bba07a04d9686c885106 (diff)
downloadwebtrees-bc241c54273892142cd7cd386c7e97823e1415df.tar.gz
webtrees-bc241c54273892142cd7cd386c7e97823e1415df.tar.bz2
webtrees-bc241c54273892142cd7cd386c7e97823e1415df.zip
Converting user admin functions to view/controller
Diffstat (limited to 'resources/views/emails')
-rw-r--r--resources/views/emails/verify-notify-html.php4
-rw-r--r--resources/views/emails/verify-notify-text.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/emails/verify-notify-html.php b/resources/views/emails/verify-notify-html.php
index 1181bc8ee0..124eb9c2bb 100644
--- a/resources/views/emails/verify-notify-html.php
+++ b/resources/views/emails/verify-notify-html.php
@@ -12,8 +12,8 @@
<?= I18N::translate('You need to review the account details.') ?>
</p>
-<a href="<?= e(Html::url(WT_BASE_URL . 'admin_users.php', ['action' => 'edit', 'user_id' => $user->getUserId()])) ?>">
- <?= e(Html::url(WT_BASE_URL . 'admin_users.php', ['action' => 'edit', 'user_id' => $user->getUserId()])) ?>
+<a href="<?= e(route('admin_users-edit', ['user_id' => $user->getUserId()])) ?>">
+ <?= e(route('admin_users-edit', ['user_id' => $user->getUserId()])) ?>
</a>
<ul>
diff --git a/resources/views/emails/verify-notify-text.php b/resources/views/emails/verify-notify-text.php
index 521b39c2c4..e800326825 100644
--- a/resources/views/emails/verify-notify-text.php
+++ b/resources/views/emails/verify-notify-text.php
@@ -6,7 +6,7 @@
<?= I18N::translate('You need to review the account details.') ?>
-<?= Html::url(WT_BASE_URL . 'admin_users.php', ['action' => 'edit', 'user_id' => $user->getUserId()]) ?>
+<?= route('admin_users-edit', ['user_id' => $user->getUserId()]) ?>
<?= /* I18N: You need to: */ I18N::translate('Set the status to “approved”.') ?>
<?= /* I18N: You need to: */ I18N::translate('Set the access level for each tree.') ?>