You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% if user.is_authenticated and show_add_to_list %}
39
39
<tdclass="addtolist">
40
-
<ahref="{% url community_add_document doc.id.draft_name %}" title="Add to your personal ID list"><imgsrc="/images/add_to_list.png" alt="Add to your personal ID list" /></a>
40
+
{% if doc.id %}
41
+
<ahref="{% url community_add_document doc.id.draft_name %}" title="Add to your personal ID list"><imgsrc="/images/add_to_list.png" alt="Add to your personal ID list" /></a>
42
+
{% else %}
43
+
<ahref="{% url community_add_document doc.rfc.filename %}" title="Add to your personal ID list"><imgsrc="/images/add_to_list.png" alt="Add to your personal ID list" /></a>
0 commit comments