Merge pull request 'Fix missing bootstrap context label on flags changelog entries' (#27) from heinzel into master
Some checks failed
buildbot/tox Build done.
Some checks failed
buildbot/tox Build done.
Reviewed-on: #27
This commit was merged in pull request #27.
This commit is contained in:
@@ -96,13 +96,13 @@ def render_event_changelog(event):
|
||||
icon = u'flag'
|
||||
status = get_or_create_event_status(change.content)
|
||||
content_html = format_html(raise_flag_templ,
|
||||
bcontext=status.bootstrap_context,
|
||||
bcontext=status.bootstrap_context or u'default',
|
||||
label=status.label)
|
||||
elif change.operation == EventChange.LOWER_FLAG:
|
||||
icon = u'flag'
|
||||
status = get_or_create_event_status(change.content)
|
||||
content_html = format_html(lower_flag_templ,
|
||||
bcontext=status.bootstrap_context,
|
||||
bcontext=status.bootstrap_context or u'default',
|
||||
label=status.label)
|
||||
else:
|
||||
icon = u'question-sign'
|
||||
|
||||
Reference in New Issue
Block a user