{% extends 'profile/base.html' %} {% load humanize %} {% block content %} Timeline {{data.title}} - Stack Overflow - Clone

Timeline for {{data.title}}

Current License: __License Name__

{{countEvents}} event{{countEvents|pluralize}}
{% for elmnt in paginated_timeline %} {% endfor %}
{% if paginated_timeline.has_other_pages %}
    {% if paginated_timeline.has_previous %}
  • «
  • {% else %}
  • «
  • {% endif %} {% for i in paginated_timeline.paginator.page_range %} {% if paginated_timeline.number == i %}
    {{ i }}
    {% else %} {{ i }} {% endif %} {% endfor %} {% if users.has_next %}
  • »
  • {% else %}
  • »
  • {% endif %}
{% endif %}
when what by comment
{% if elmnt.date %}{{elmnt.date|naturaltime}}{% elif elmnt.edited_suggested_at %}{{elmnt.edited_suggested_at|naturaltime}}{% endif %} {% if elmnt.question_comment %}commented{% elif elmnt.answer_owner %}answered{% elif elmnt.by_user %}bounty offered{% elif elmnt.upvote_by_q %}upvote{% elif elmnt.downvote_by_q %}downvote{% elif elmnt.edited_question %}edit suggessted{% endif %} {% if elmnt.question_comment %}{{elmnt.commented_by}}{% elif elmnt.answer_owner %}{{elmnt.answer_owner}}{% elif elmnt.by_user %}N/A{% elif elmnt.upvote_by_q %}{{elmnt.upvote_by_q}}{% elif elmnt.downvote_by_q %}{{elmnt.downvote_by_q}}{% elif elmnt.edited_question %}N/A{% endif %} {% if elmnt.answer_owner %}timeline{% else %}timeline{% endif %} score: 0
 
{% for s in paginated_timeline %} {% if s.question_comment %} {{s.comment}} {% elif s.answer_owner %} {{s.body}} {% elif s.by_user %} N/A {% elif s.upvote_by_q %} N/A {% elif s.downvote_by_q %} N/A {% elif s.edited_question %} N/A {% endif %} {% endfor %} {% endblock content %}