Skip to content

Commit 543e3e6

Browse files
committed
requested changes
1 parent a4974af commit 543e3e6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

readthedocs/projects/views/private.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ def send_mail(request, project_slug):
273273
for user in project.users.all():
274274
if AdminPermission.is_admin(user, project):
275275
email = user.email
276+
break
276277
context = {'proj_name': proj_name}
277278
subject = 'Rename request for abandoned project'
278279
send_email(

readthedocs/templates/core/project_bar_base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h1>
3232
<input type="submit" name="submit-btn" value="{% trans "Email project owner with our abandoned project email" %}"/>
3333
</form>
3434
{% else %}
35-
<p><strong>{%trans "Abandonment mail is sent to the owner of the project." %}</strong></p>
35+
<p><strong>{%trans "Abandonment mail was sent to the owner of the project." %}</strong></p>
3636
{% endif %}
3737
</div>
3838
{% endif %}

0 commit comments

Comments
 (0)