{% extends 'edx_sysadmin/base.html' %} {% load i18n static %} {% load sysadmin_extras %} {% block headextra %} {{ block.super }} {% endblock headextra %} {% block panel %}
{# Translators: refers to http://git-scm.com/docs/git-log #}

{% trans "Git Logs" %}

{% if course_id is not None %} {# Translators: Git is a version-control system; see http://git-scm.com/about #}

{% blocktrans %}Recent git load activity for {{ course_id }}{% endblocktrans %}

{% if error_msg %}

{% trans "Error" %}:

{{error_msg}}

{% endif %} {% endif %} {% if logs %} {% include 'edx_sysadmin/gitlogs_pagination.html' %} {# Translators: Git is a version-control system; see http://git-scm.com/about #} {% for cil in logs %} {# Show the full log of the latest import if viewing logs for a specific course #} {% if course_id is not None %} {% endif %} {% endfor %}
{% trans "Date" %} {% trans "Course ID" %}{% trans "Git Action" %}
{% change_time_display cil.created %} {{cil.course_id}} {% if course_id is not None %} [ + ] {% endif %} {{cil.git_log}}
{{cil.course_import_log}}
{% include 'edx_sysadmin/gitlogs_pagination.html' %} {% else %}
{% if not course_id %} {# If viewing all logs there are no logs available, let the user know. #} {# Translators: git is a version-control system; see http://git-scm.com/about #} {% trans "No git import logs have been recorded." %} {% else %} {# If viewing a single course and there are no logs available, let the user know. #} {# Translators: git is a version-control system; see http://git-scm.com/about #} {% trans "No git import logs have been recorded for this course." %} {% endif %}
{% endif %} {% endblock panel %}