* Adds session_detail page
* Adds session chairing information to the schedule grid
* Adds session_list.html
* Nicer volunteer text
Conflicts:
	pinaxcon/templates/symposion/schedule/_grid.html
Conflict and migration performed by Sachi King <nakato@nakato.io>
Emoji changed, lca2017_tags to lca2018_tags, remove needless dependency
on django-user-account, use request instead like the remainder of the
calls n the template do anyways.
Remove blocktrans from a number of texts as they break {{ templating }}
and we don't translate anyways.
Modified-by: Sachi King <nakato@nakato.io>
		
	
			
		
			
				
	
	
		
			63 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends "symposion/schedule/public_base.html" %}
 | 
						|
 | 
						|
{% load lca2018_tags %}
 | 
						|
{% load sitetree %}
 | 
						|
{% load staticfiles %}
 | 
						|
{% load thumbnail %}
 | 
						|
{% load i18n %}
 | 
						|
 | 
						|
 | 
						|
{% block head_title %}Sessions{% endblock %}
 | 
						|
 | 
						|
{% block breadcrumbs %}{% sitetree_breadcrumbs from "main" %}{% endblock %}
 | 
						|
 | 
						|
{% block header_inset_image %}{{ block.super }}{% endblock %}
 | 
						|
 | 
						|
{% block header_background_image %}{{ block.super }}{% endblock %}
 | 
						|
 | 
						|
{% block header_title %}Sessions{% endblock %}
 | 
						|
 | 
						|
{% block header_paragraph %}
 | 
						|
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block content %}
 | 
						|
  <ul class="unstyled">
 | 
						|
    {% for session in sessions %}
 | 
						|
      {% if session.sorted_slots %}
 | 
						|
        <li>
 | 
						|
          <a href="{% url 'schedule_session_detail' session.pk %}">{% blocktrans %}Session #{% endblocktrans %}{{ forloop.counter }}</a>
 | 
						|
          <div class="well">
 | 
						|
            <ul class="unstyled">
 | 
						|
              {% for role in session.sessionrole_set.all %}
 | 
						|
                <li>
 | 
						|
                  <b>{{ role.get_role_display }}</b>: {{ role.user.attendee.attendeeprofilebase.attendeeprofile.name }}
 | 
						|
                </li>
 | 
						|
              {% empty %}
 | 
						|
                <li>
 | 
						|
                  <a href="{% url 'schedule_session_detail' session.pk %}">{% blocktrans %}No volunteers signed up. Sign up!{% endblocktrans %}</a>
 | 
						|
                </li>
 | 
						|
              {% endfor %}
 | 
						|
            </ul>
 | 
						|
            <h4>{% trans "Slots" %}</h4>
 | 
						|
            <table class="table">
 | 
						|
              {% for slot in session.sorted_slots %}
 | 
						|
                <tr>
 | 
						|
                  <td>{{ slot }}</td>
 | 
						|
                  <td>
 | 
						|
                    {% if slot.content %}<a href="{% url 'schedule_presentation_detail' slot.content.pk %}">{{ slot.content }}</a>{% endif %}
 | 
						|
                  </td>
 | 
						|
                </tr>
 | 
						|
              {% empty %}
 | 
						|
                  <tr>{% trans "No slots in session." %}</tr>
 | 
						|
              {% endfor %}
 | 
						|
            </table>
 | 
						|
          </div>
 | 
						|
        </li>
 | 
						|
      {% endif %}
 | 
						|
    {% empty %}
 | 
						|
      <li>{% trans "No sessions defined." %}</li>
 | 
						|
    {% endfor %}
 | 
						|
  </ul>
 | 
						|
 | 
						|
{% endblock %}
 |