{% extends "base.html" %} {% load static from staticfiles %} {% load request_tags %} {% block content %} {% if page_name == 'My Requests' %}
{% elif request_type.enabled %} {% elif targetUsername %} {% endif %}Request | {% if request_type %}Progenitor | {% endif %} {% if not request_type %}Type | {% endif %}Responses | Status | Votes | Posted | Updated |
---|---|---|---|---|---|---|---|
{{ req.body|safe }} | {% if request_type %}{{ req.owner.user.first_name }} {{ req.owner.user.last_name }} | {% endif %} {% if not request_type %}{{ req.request_type.name|title }} | {% endif %}{{ req.number_of_responses }} | {{ req.get_status_display }} | {% with vote_count=req|count_votes %}{% if vote_count > 0 %}+{{ vote_count }}{% elif vote_count = 0 %}+0{% else %}{{ vote_count }}{% endif %} | {% endwith %}{{ req.post_date|date:"m/d/Y, h:i A" }} | {{ req.change_date|date:"m/d/Y, h:i A" }} |