Skip to content

Commit fdc93d4

Browse files
committed
Merged in [7879] and [7880] from olau@iola.dk to fix a couple of issues with the 5.5.0 release.
- Legacy-Id: 7885 Note: SVN reference [7879] has been migrated to Git commit 0078057 Note: SVN reference [7880] has been migrated to Git commit 8d5006a
2 parents fa55bd6 + 8d5006a commit fdc93d4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/group/mails.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def email_secretariat(request, group, subject, text):
2323
dict(text=text,
2424
group=group,
2525
group_url=settings.IDTRACKER_BASE_URL + urlreverse('group_charter', kwargs=dict(group_type=group.type_id, acronym=group.acronym)),
26-
charter_url=settings.IDTRACKER_BASE_URL + urlreverse('doc_view', kwargs=dict(name=group.charter.name)),
26+
charter_url=settings.IDTRACKER_BASE_URL + urlreverse('doc_view', kwargs=dict(name=group.charter.name)) if group.charter else "[no charter]",
2727
)
2828
)
2929

ietf/templates/group/edit_milestones.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ <h1>{{ title }}</h1>
4343

4444
<p>Links:
4545
<a href="{% url "group_charter" group_type=group.type_id acronym=group.acronym %}">{{ group.acronym }} {{ group.type.name }}</a>
46+
{% if group.charter %}
4647
- <a href="{% url "doc_view" name=group.charter.canonical_name %}">{{ group.charter.canonical_name }}</a>
48+
{% endif %}
4749
</p>
4850

4951

0 commit comments

Comments
 (0)