fix none link for agenda

This commit is contained in:
2020-10-17 20:25:53 +00:00
parent ac80104b5f
commit 7ff28611ab

View File

@@ -78,8 +78,8 @@ def show(request, id=None):
if post_author: if post_author:
author_image = post_author.image['avatar'].url author_image = post_author.image['avatar'].url
ep_agenda_link = None ep_agenda_link = "#"
ep_protocol_link = None ep_protocol_link = "#"
if p.has_agenda and p.agenda_key: if p.has_agenda and p.agenda_key:
ep_agenda_link = get_pad_link(p.agenda_key) ep_agenda_link = get_pad_link(p.agenda_key)