{% extends "admin/index.html" %}
{% load i18n thumbnail %}
{% block messages %}
{{ block.super }}
    
        {% translate "Today" %}
        
            
                {% for diffusion in diffusions %}
                {% with episode=diffusion.episode %}
                
                    | {{ diffusion.start|time }} - {{ diffusion.end|time }} | 
                      | 
                    
                        {{ episode.title }}
                         
                        {% if diffusion.type == diffusion.TYPE_ON_AIR %}
                        
                            
                                {% if diffusion.is_live %}
                                
                                {% else %}
                                
                                {% endif %}
                            
                             
                            {{ diffusion.get_type_display }}
                        
                        {% elif diffusion.type == diffusion.TYPE_CANCEL %}
                        
                            {{ diffusion.get_type_display }}
                        {% elif diffusion.type == diffusion.TYPE_UNCONFIRMED %}
                        
                            {{ diffusion.get_type_display }}
                        {% endif %}
                     | 
                
                {% endwith %}
                {% endfor %}
            
        
     
    
        {% translate "Latest comments" %}
        
        {% for comment in comments %}
        {% with page=comment.page %}
        
            | 
                {{ page.title }}
                
                |
                {{ comment.nickname }}
                —
                {{ comment.date }}
                
                    
                        
                    
                    
                        
                    
             | 
        
        
            | 
                {{ comment.content|slice:"0:128" }}
             | 
        
        {% endwith %}
        {% endfor %}
            
        
        
     
    
    
 
 
{% endblock %}