Files @ 1886323d7431
Branch filter:

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

Sachi King
Bootstrapification

Boot custom CSS, and put some base, standard css in its place.
Shame I did not start with fresh Bootstrap4, but oh well.

Some more templates could be made to make this less messy, which would
be good.
{% load i18n %}

<table class="table table-striped table-bordered table-reviews">
    <thead>
        <th>#</th>
        <th>{% trans "Speaker / Title" %}</th>
        <th>{% trans "Votes" %}</th>
        <th>{% trans "Score" %}</th>
        <th>{% trans "+2" %}</th>
        <th>{% trans "+1" %}</th>
        <th>{% trans "-1" %}</th>
        <th>{% 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.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>