{% extends "admin/base_site.html" %}
{% load i18n admin_urls %}
{% block extrastyle %}
{% endblock %}
{% block breadcrumbs %}
{% if action_list %}
| {% trans 'Date/time' %} |
{% trans 'User' %} |
{% trans 'Action' %} |
{% for action in action_list %}
| {{ action.action_time|date:"DATETIME_FORMAT" }} |
{{ action.user.get_username }}{% if action.user.get_full_name %} ({{ action.user.get_full_name }}){% endif %} |
{{ action.change_message }} |
{% endfor %}
{% else %}
{% trans "This object doesn't have a change history. It probably wasn't added via this admin site." %}
{% endif %}
{% if history_list %}
{% trans "Workflow History" %}
| {% trans 'Date/time' %} |
{% trans 'User' %} |
{% trans 'node' %} |
{% trans 'Action' %} |
{% trans 'Workflow Memo' %} |
{% for history in history_list %}
| {{ history.pro_time|date:"DATETIME_FORMAT" }} |
{{ history.user.get_username }}{% if history.user.get_full_name %} ({{ history.user.get_full_name }}){% endif %} |
{{ history.get_node_desc }} |
{{ history.get_action_desc }} |
{{ history.get_memo_desc }} |
{% endfor %}
{% if todo_list %}
{% for todo in todo_list %}
| {% if todo.is_read %}{{ todo.read_time|date:"DATETIME_FORMAT" }}{% endif %} |
{{ todo.user.get_username }}{% if todo.user.get_full_name %} ({{ todo.user.get_full_name }}){% endif %} |
{{ todo.node.name }} |
{% if todo.is_read %} {% trans 'already read' %} {% else %} {% trans 'unread' %} {% endif %} |
|
{% endfor %}
{% endif %}
{% endif %}
{% endblock %}