fix none link for agenda
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user