Skip to content

Commit c9241ed

Browse files
committed
Changed the "no user with this email" warning when adding delegates/shepherds.
- Legacy-Id: 3016
1 parent e800623 commit c9241ed

2 files changed

Lines changed: 19 additions & 3 deletions

File tree

ietf/templates/wgchairs/notexistdelegate.html

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
1+
{% if shepherd %}
2+
<p>
3+
The shepherd you are trying to designate does not have a personal user-id and password to log-on to the Datatracker.
4+
</p>
5+
<p>
6+
An email will be sent to the following addresses to inform that
7+
the person you have designated to be one of your document shepherds
8+
currently does not have login credentials for the Datatracker
9+
and should contact the Secretariat to obtain their own user-id and
10+
password for the Datatracker.
11+
</p>
12+
{% else %}
113
<p>
214
The delegate you are trying to designate does not have a personal user-id and password to log-on to the Datatracker.
315
</p>
416
<p>
5-
An email will be sent to the following address to inform that the person designated sould contact with the Secretariat
6-
to obtain their own user-id and password to the Datatracker.
17+
An email will be sent to the following addresses to inform that
18+
the person you have designated to be one of your delegates
19+
currently does not have login credentials for the Datatracker
20+
and should contact the Secretariat to obtain their own user-id and
21+
password for the Datatracker.
722
</p>
23+
{% endif %}
824
<ul>
925
{% for email in email_list %}
1026
<li>{{ email }}</li>

ietf/wgchairs/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def get_email_list(self):
278278

279279
def as_p(self):
280280
email_list = self.get_email_list()
281-
info = render_to_string('wgchairs/notexistdelegate.html', {'email_list': email_list})
281+
info = render_to_string('wgchairs/notexistdelegate.html', {'email_list': email_list, 'shepherd': self.shepherd})
282282
return info + super(NotExistDelegateForm, self).as_p()
283283

284284
def send_email(self, email, template):

0 commit comments

Comments
 (0)