mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add maindomain in diagnosis email subject
This commit is contained in:
parent
6637c8a84d
commit
e30e25fa93
1 changed files with 3 additions and 2 deletions
|
@ -558,9 +558,10 @@ def _list_diagnosis_categories():
|
|||
|
||||
def _email_diagnosis_issues():
|
||||
from yunohost.domain import _get_maindomain
|
||||
from_ = "diagnosis@%s (Automatic diagnosis)" % _get_maindomain()
|
||||
maindomain = _get_maindomain()
|
||||
from_ = "diagnosis@%s (Automatic diagnosis on %s)" % (maindomain, maindomain)
|
||||
to_ = "root"
|
||||
subject_ = "Issues found by automatic diagnosis"
|
||||
subject_ = "Issues found by automatic diagnosis on %s" % maindomain
|
||||
|
||||
disclaimer = "The automatic diagnosis on your YunoHost server identified some issues on your server. You will find a description of the issues below. You can manage those issues in the 'Diagnosis' section in your webadmin."
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue