Files @ 34509d23eb9f
Branch filter:

Location: symposion_app/pinaxcon/templates/symposion/teams/_team_row.html

bsturmfels
Make vendored symposion into an installable Python package

This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.

Re-add
<div class="card card-default mb-3">
    <div class="card-header">
        <h3 class="card-title">{{ team.name|title }}</h3>
    </div>
    <div class="card-body">
        {% if membership %}
        <small class="badge float-right badge-pill badge-{% if membership.state == 'invited' %}info{% else %}primary{% endif %}">{{ membership.get_state_display }}</small>
        {% endif %}
        {% if team.description %}
        <p>{{ team.description }}</p>
        {% else %}
        <p>No team description available.</p>
        {% endif %}
    </div>
    <div class="card-footer">
        <a href="{% url "team_detail" team.slug %}">Details</a>
        {% if membership %}
        {% if membership.state == "manager" or user.is_staff %}
        {% if membership.team.applicants %}{{ membership.team.applicants.count }} applicant{{ membership.team.applicants.count|pluralize }}{% endif %}
        {% endif %}
        {% endif %}
    </div>
</div>