Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/admin/deposit.html
{% extends "layout.html" %} | {% extends "layout.html" %} | ||||
{% comment %} | {% comment %} | ||||
Copyright (C) 2018-2019 The Software Heritage developers | Copyright (C) 2018-2021 The Software Heritage developers | ||||
See the AUTHORS file at the top-level directory of this distribution | See the AUTHORS file at the top-level directory of this distribution | ||||
License: GNU Affero General Public License version 3, or any later version | License: GNU Affero General Public License version 3, or any later version | ||||
See top-level LICENSE file for more information | See top-level LICENSE file for more information | ||||
{% endcomment %} | {% endcomment %} | ||||
{% load swh_templatetags %} | {% load swh_templatetags %} | ||||
{% load render_bundle from webpack_loader %} | {% load render_bundle from webpack_loader %} | ||||
Show All 36 Lines | <thead> | ||||
<th>directory</th> | <th>directory</th> | ||||
<th>directory with context</th> | <th>directory with context</th> | ||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
</table> | </table> | ||||
<p id="swh-admin-deposit-list-error"></p> | <p id="swh-admin-deposit-list-error"></p> | ||||
<script> | <script> | ||||
swh.webapp.initPage('deposit-admin'); | swh.webapp.initPage('deposit-admin'); | ||||
swh.admin.initDepositAdmin(); | swh.admin.initDepositAdmin({{ request.user.username|jsonify }}, {{ request.user.is_staff|jsonify }}); | ||||
</script> | </script> | ||||
{% endblock content %} | {% endblock content %} |