{% extends 'base_for_react.html' %}
{% load seahub_tags i18n %}
{% load render_bundle from webpack_loader %}

{% block sub_title %}{% trans "History" %} - {% endblock %}

{% block extra_style %}
{% render_bundle 'repoHistory' 'css' %}
{% endblock %}

{% block extra_script %}
<script type="text/javascript">
// overwrite the one in base_for_react.html
window.app.pageOptions = {
  repoID: '{{repo.id}}',
  repoName: '{{repo.props.name|escapejs}}',
  userPerm: '{{user_perm}}',
  showLabel: {% if show_label %} true {% else %} false {% endif %}
};
</script>
{% render_bundle 'repoHistory' 'js' %}
{% endblock %}
