[views] Uniformize data-objects tab for archive unit and transfer entities
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 02 Nov 2017 20:39:10 +0100
changeset 2824 9d9a6b34e029
parent 2822 29b99ee6ff4c
child 2825 97404ac46824
[views] Uniformize data-objects tab for archive unit and transfer entities Related to #39302963
cubicweb_seda/i18n/en.po
cubicweb_seda/i18n/fr.po
cubicweb_seda/views/archivetransfer.py
cubicweb_seda/views/archiveunit.py
--- a/cubicweb_seda/i18n/en.po	Thu Nov 02 15:29:15 2017 +0100
+++ b/cubicweb_seda/i18n/en.po	Thu Nov 02 20:39:10 2017 +0100
@@ -5166,9 +5166,6 @@
 msgid "seda_at_code_list_versions_tab"
 msgstr ""
 
-msgid "seda_at_data_objects_tab"
-msgstr ""
-
 msgid "seda_at_diagnose_tab"
 msgstr ""
 
@@ -5189,9 +5186,6 @@
 msgid "seda_attachment_object"
 msgstr ""
 
-msgid "seda_au_data_objects_refs_tab"
-msgstr ""
-
 msgid "seda_authorized_agent_from"
 msgstr ""
 
@@ -5587,6 +5581,9 @@
 msgid "seda_data_object_version_to_object"
 msgstr ""
 
+msgid "seda_data_objects_tab"
+msgstr ""
+
 msgid "seda_date_created_by_application"
 msgstr ""
 
--- a/cubicweb_seda/i18n/fr.po	Thu Nov 02 15:29:15 2017 +0100
+++ b/cubicweb_seda/i18n/fr.po	Thu Nov 02 20:39:10 2017 +0100
@@ -5189,9 +5189,6 @@
 msgid "seda_at_code_list_versions_tab"
 msgstr "vocabulaires"
 
-msgid "seda_at_data_objects_tab"
-msgstr "objets-données"
-
 msgid "seda_at_diagnose_tab"
 msgstr "diagnostic"
 
@@ -5212,9 +5209,6 @@
 msgid "seda_attachment_object"
 msgstr ""
 
-msgid "seda_au_data_objects_refs_tab"
-msgstr "objets-données"
-
 msgid "seda_authorized_agent_from"
 msgstr ""
 
@@ -5610,6 +5604,9 @@
 msgid "seda_data_object_version_to_object"
 msgstr ""
 
+msgid "seda_data_objects_tab"
+msgstr "objets-données"
+
 msgid "seda_date_created_by_application"
 msgstr ""
 
--- a/cubicweb_seda/views/archivetransfer.py	Thu Nov 02 15:29:15 2017 +0100
+++ b/cubicweb_seda/views/archivetransfer.py	Thu Nov 02 20:39:10 2017 +0100
@@ -109,7 +109,7 @@
         'main_tab',
         _('seda_at_code_list_versions_tab'),
         _('seda_management_tab'),
-        _('seda_at_data_objects_tab'),
+        _('seda_data_objects_tab'),
         _('seda_archive_units_tab'),
         _('seda_at_related_transfers_tab'),
         _('seda_at_diagnose_tab'),
@@ -159,7 +159,7 @@
 
 class ArchiveTransferDataObjectsTab(viewlib.SubObjectsTab):
     """Tab for data objects of an archive transfer"""
-    __regid__ = 'seda_at_data_objects_tab'
+    __regid__ = 'seda_data_objects_tab'
     __select__ = is_instance('SEDAArchiveTransfer') & full_seda2_profile()
 
     rtype_role_targets = [
--- a/cubicweb_seda/views/archiveunit.py	Thu Nov 02 15:29:15 2017 +0100
+++ b/cubicweb_seda/views/archiveunit.py	Thu Nov 02 20:39:10 2017 +0100
@@ -261,7 +261,7 @@
         'main_tab',
         _('seda_management_tab'),
         _('seda_archive_units_tab'),
-        _('seda_au_data_objects_refs_tab'),
+        _('seda_data_objects_tab'),
         # Content tabs
         _('seda_identification_tab'),
         _('seda_dates_tab'),
@@ -1002,7 +1002,7 @@
 class ArchiveUnitDataObjectReferencesTab(ArchiveUnitSubObjectsTab):
     """Tab for data object references of an archive unit"""
 
-    __regid__ = 'seda_au_data_objects_refs_tab'
+    __regid__ = 'seda_data_objects_tab'
 
     rtype_role_targets = [('seda_data_object_reference', 'object', None)]