Files @ 6e63465feaca
Branch filter:

Location: symposion_app/pinaxcon/templates/symposion/reviews/_review_table.html

Tobias Schulmann
Basic styling for review section
{% load i18n %}

<table class="table table-striped table-reviews">
    <thead>
        <th>#</th>
        <th>{% trans "Speaker / Title" %}</th>
        <th class="toggle">Audience</th>
        <th class="toggle">Format</th>
        <th>{% trans "Votes" %}</th>
        <th class="toggle">{% trans "Score" %}</th>
        <th class="votes">{% trans "+2" %}</th>
        <th class="votes">{% trans "+1" %}</th>
        <th class="votes">{% trans "-1" %}</th>
        <th class="votes">{% trans "-2" %}</th>
        <th><a href="#" class="tip" title="{% trans "Your Rating" %}"><i class="fa fa-user"></i></a></th>
    </thead>

    <tbody>
        {% for proposal in proposals %}
            <tr class="{{ proposal.user_vote_css }}">
                <td>{{ proposal.number }}</td>
                <td>
                    <a href="{% url "review_detail" proposal.pk %}">
                        <small><strong>{{ proposal.speaker }}</strong></small>
                        <br />
                        {{ proposal.title }}
                    </a>
                </td>
                <td>{{ proposal.get_target_audience_display }}</td>
                <td>{{ proposal.get_talk_format_display }}</td>
                <td>{{ proposal.total_votes }}</td>
                <td>{{ proposal.score }}</td>
                <td>{{ proposal.plus_two }}</td>
                <td>{{ proposal.plus_one }}</td>
                <td>{{ proposal.minus_one }}</td>
                <td>{{ proposal.minus_two }}</td>
                <td>{{ proposal.user_vote|default:"" }}</td>
            </tr>
        {% endfor %}
    </tbody>
</table>