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

Timeline for {{data.body|truncatechars:80}}

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.answer_comment %} commented {% elif elmnt.answer_owner %} answered {% elif elmnt.edited_answer %} edit suggessted {% endif %} {% if elmnt.answer_comment %} {{elmnt.commented_by}} {% elif elmnt.edited_answer %} {{elmnt.edit_suggested_by}} {% endif %} {% if elmnt.answer_owner %}timeline{% else %}timeline{% endif %} score: {{data.countAllTheVotes}}
 
{% 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 %} {% for dat in post_answer %} {% for s in dat.anshis.all %} Previous :- {{s.next_record.instance.body}} {{s.history_user}} {{s.history_date}}

Previous Record

{{s.prev_record.body}}

Next Record

{{s.next_record.body}} {{s.instance}}



{% endfor %}{% endfor %} {% endblock content %}