Skip to content

Commit f7c9819

Browse files
committed
Add a description for the Receive Email Option in user edit view.
1 parent 0939357 commit f7c9819

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

administrator/components/com_users/forms/user.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<form addfieldprefix="Joomla\Component\Users\Administrator\Field">
3+
<config>
4+
<inlinehelp button="show"/>
5+
</config>
36
<fieldset name="user_details" label="COM_USERS_USER_ACCOUNT_DETAILS">
47
<field
58
name="name"
@@ -95,6 +98,7 @@
9598
name="sendEmail"
9699
type="radio"
97100
label="COM_USERS_USER_FIELD_SENDEMAIL_LABEL"
101+
description="COM_USERS_USER_FIELD_SENDEMAIL_DESCR"
98102
default="0"
99103
layout="joomla.form.field.radio.switcher"
100104
>

administrator/components/com_users/src/View/User/HtmlView.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ function (Toolbar $childBar) use ($canDo, $isProfile) {
196196
}
197197

198198
$toolbar->divider();
199+
$toolbar->inlinehelp();
199200
$toolbar->help('Users:_Edit_Profile');
200201
}
201202
}

administrator/language/en-GB/com_users.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ COM_USERS_USER_FIELD_PASSWORD2_LABEL="Confirm Password"
421421
COM_USERS_USER_FIELD_REGISTERDATE_LABEL="Registration Date"
422422
COM_USERS_USER_FIELD_REQUIRERESET_LABEL="Require Password Reset"
423423
COM_USERS_USER_FIELD_RESETCOUNT_LABEL="Password Reset Count"
424+
COM_USERS_USER_FIELD_SENDEMAIL_DESCR="The user is allowed to receive system emails, regardless of the user group he belongs to. This enables email notifications on autoUpdates or scheduled tasks also for users who have no admin rights."
424425
COM_USERS_USER_FIELD_SENDEMAIL_LABEL="Receive System Emails"
425426
COM_USERS_USER_FIELD_TIMEZONE_LABEL="Time Zone"
426427
COM_USERS_USER_FIELD_USERNAME_LABEL="Login Name (Username)"

0 commit comments

Comments
 (0)