File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1137,6 +1137,14 @@ def agenda_file(self):
11371137
11381138 return self ._agenda_file
11391139
1140+ def jabber_room_name (self ):
1141+ if self .type_id == 'plenary' :
1142+ return 'plenary'
1143+ elif self .historic_group :
1144+ return self .historic_group .acronym
1145+ else :
1146+ return self .group .acronym
1147+
11401148class ImportantDate (models .Model ):
11411149 meeting = ForeignKey (Meeting )
11421150 date = models .DateField ()
Original file line number Diff line number Diff line change 1717 {# show stream buttons up till end of session, then show archive buttons #}
1818 {% if now < item .timeslot.end_time %}
1919 <!-- Jabber -->
20- {% if item.timeslot.type.slug == 'plenary ' %}
2120 < a class ="btn btn-default btn-xs "
22- href ="xmpp:plenary @jabber.ietf.org?join "
23- title ="Jabber room for {{item.timeslot.name }} "> < span class ="fa fa-lightbulb-o "> </ span >
21+ href ="xmpp:{{item.session.jabber_room_name}} @jabber.ietf.org?join "
22+ title ="Jabber room for {{item.session.jabber_room_name }} "> < span class ="fa fa-lightbulb-o "> </ span >
2423 </ a >
25- {% else %}
26- < a class ="btn btn-default btn-xs "
27- href ="xmpp:{{item.session.historic_group.acronym}}@jabber.ietf.org?join "
28- title ="Jabber room for {{item.session.historic_group.acronym}} "> < span class ="fa fa-lightbulb-o "> </ span >
29- </ a >
30- {% endif %}
3124
3225 <!-- Video stream (meetecho) -->
3326 {% if item.timeslot.location.video_stream_url %}
4740 <!-- Jabber logs -->
4841 {% if schedule.meeting.number|add:"0" > = 60 %}
4942 < a class ="btn btn-default btn-xs "
50- href ="https://www.ietf.org/jabber/logs/{{item.session.historic_group.acronym }} "
51- title ="Jabber logs for {{item.session.historic_group.acronym }} ">
43+ href ="https://www.ietf.org/jabber/logs/{{item.session.jabber_room_name }} "
44+ title ="Jabber logs for {{item.session.jabber_room_name }} ">
5245 < span class ="fa fa-stack ">
5346 < i class ="fa fa-file-o fa-stack-1x "> </ i >
5447 < i class ="fa fa-lightbulb-o fa-stack-1x "> </ i >
You can’t perform that action at this time.
0 commit comments