-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename "finished" CfP state to "finalised"
Fixes #1155
- Loading branch information
Showing
9 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
{# reusable icons #} | ||
{% macro proposal_icons(prop) %} | ||
{% if not prop.may_record and prop.type == 'talk' and prop.state == 'finished' %} | ||
<span style="padding-left: 10px;" title="This talk will not be recorded"><img src="{{ static_url_for('static', filename='images/icons/not-recorded.svg') }}" width="24" height="24"></span> | ||
{% endif %} | ||
{% if prop.content_note and prop.type == 'talk' and prop.state == 'finished' %} | ||
<span style="padding-left: 10px;" title="There is a content note on this talk">⚠️</span> | ||
{% endif %} | ||
{% if prop.family_friendly and prop.type == 'talk' and prop.state == 'finished' %} | ||
<span style="padding-left: 10px;" title="This talk is family friendly">{{ ["👪", "👩👧", "👩👦", "👨👧", "👨👦", "👩👩👦", "👨👨👧", "👨👨👦", "👨👩👧", "👩👩👧", "👨👦👦", "👨👧👦", "👨👧👧", "👩👧👧", "👩👦👦", "👩👧👦", "👨👩👦", "👨👨👧👦", "👨👩👧👧", "👩👩👧👧" ] | random }}</span> | ||
{% if prop.type == 'talk' and prop.state == 'finalised' %} | ||
{% if not prop.may_record %} | ||
<span style="padding-left: 10px;" title="This talk will not be recorded"><img src="{{ static_url_for('static', filename='images/icons/not-recorded.svg') }}" width="24" height="24"></span> | ||
{% endif %} | ||
{% if prop.content_note %} | ||
<span style="padding-left: 10px;" title="There is a content note on this talk">⚠️</span> | ||
{% endif %} | ||
{% if prop.family_friendly %} | ||
<span style="padding-left: 10px;" title="This talk is family friendly">{{ ["👪", "👩👧", "👩👦", "👨👧", "👨👦", "👩👩👦", "👨👨👧", "👨👨👦", "👨👩👧", "👩👩👧", "👨👦👦", "👨👧👦", "👨👧👧", "👩👧👧", "👩👦👦", "👩👧👦", "👨👩👦", "👨👨👧👦", "👨👩👧👧", "👩👩👧👧" ] | random }}</span> | ||
{% endif %} | ||
{% endif %} | ||
{% endmacro %} |