Changeset - 73f2cc1d1ce9
[Not reviewed]
Merge
0 1 0
Scott Bragg - 7 years ago 2017-01-12 08:51:58
jsbragg@scriptforge.org
Merge pull request #68 from jamezpolley/lca2017

Handle slots with no Proposal
1 file changed with 5 insertions and 4 deletions:
0 comments (0 inline, 0 general)
symposion/schedule/views.py
Show inline comments
...
 
@@ -278,5 +278,6 @@ class EventFeed(ICalFeed):
 
        if hasattr(item.content, 'proposal'):
 
            return item.content.title
 
            title =  item.content.title
 
        else:
 
            item.content_override if item.content_override else "Slot"
 
            title = item.kind if item.kind else "Slot"
 
        return title
 

	
...
 
@@ -286,5 +287,5 @@ class EventFeed(ICalFeed):
 
                item.content.speaker, item.content.abstract)
 
            return description
 
        else:
 
            return None
 
            description = item.content_override if item.content_override else "No description"
 
        return description
 

	
0 comments (0 inline, 0 general)