diff --git a/app/core/templates/index.html b/app/core/templates/index.html index 69d4773..31bc3dc 100644 --- a/app/core/templates/index.html +++ b/app/core/templates/index.html @@ -84,7 +84,7 @@

{% trans 'Home' %}

{% trans 'All deposited packages' %} - {% trans "Articles' files" %} + {% trans "Articles' files" %}
diff --git a/app/core/templates/ingress/article_files_list.html b/app/core/templates/ingress/article_files_list.html deleted file mode 100644 index 4a9f84b..0000000 --- a/app/core/templates/ingress/article_files_list.html +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block title %} -SciELO Publishing Framework - {% trans "Articles' files" %} -{% endblock %} - -{% block content %} -

{% trans "Articles' files" %}

- -
- {% if article_files_obj %} -
- - - - - - - - - - - - - - - {% for art in article_files_obj %} - - - - - {% if art.created != art.updated %} - - {% else %} - - {% endif %} - - - - - - {% endfor %} - -
#{% trans 'Identifier' %}{% trans 'Creation date' %}{% trans 'Update date' %}{% trans 'Package name' %}{% trans 'XML' %}{% trans 'Assets' %}{% trans 'Renditions' %}
{{ article_files_obj.start_index|add:forloop.counter0 }}{{ art.id }}{{ art.created|date:'Y-m-d H:i' }}{{ art.updated|date:'Y-m-d H:i' }}{{ art.file.name }}{{ art.xml }}{{ art.assets|length }}{{ art.renditions|length }}
-
- {% endif %} -
- -{% if article_files_obj %} - -{% endif %} - -{% endblock %} \ No newline at end of file diff --git a/app/core/urls.py b/app/core/urls.py index a44d35c..d054051 100644 --- a/app/core/urls.py +++ b/app/core/urls.py @@ -22,7 +22,6 @@ path('ingress/package_upload/', views.ingress_package_upload_page, name='ingress_package_upload'), path('ingress/package_download/', views.ingress_package_download_page, name='ingress_package_download'), path('ingress/package_list/', views.ingress_package_list_page, name='ingress_package_list'), - path('ingress/articles_files/', views.ingress_articles_files_page, name='ingress_article_files_list'), ] journal = [ diff --git a/app/core/views.py b/app/core/views.py index 83c84af..a386aee 100644 --- a/app/core/views.py +++ b/app/core/views.py @@ -288,18 +288,6 @@ def ingress_package_list_page(request): return render(request, 'ingress/package_list.html', context={'deposited_package_obj': deposited_package_obj, 'scope': request_scope}) -@login_required(login_url='login') -@allowed_users(allowed_groups=['manager', 'operator_ingress']) -def ingress_articles_files_page(request): - article_files_list = dsm_ingress._docs_manager.get_articles_files() - - paginator = Paginator(article_files_list, 25) - page_number = request.GET.get('page') - article_files_obj = paginator.get_page(page_number) - - return render(request, 'ingress/article_files_list.html', context={'article_files_obj': article_files_obj}) - - ################# # journal views # #################