diff --git a/src/js/constants/documentsProperties.json b/src/js/constants/documentsProperties.json index eb1709da1e..0391cab36d 100644 --- a/src/js/constants/documentsProperties.json +++ b/src/js/constants/documentsProperties.json @@ -650,7 +650,8 @@ { "id": "books", "properties": { "url": "b", "associationEditorOrder": 2 } }, { "id": "images", "properties": { "associationEditorOrder": 4 } }, { "id": "waypoints", "properties": { "url": "w", "associationEditorOrder": 1 } }, - { "id": "waypoints", "properties": { "name": "waypoint_children", "url": "w", "associationEditorOrder": 1 } } + { "id": "waypoints", "properties": { "name": "waypoint_children", "url": "w", "associationEditorOrder": 1 } }, + { "id": "external_resources" } ] }, diff --git a/src/views/document/WaypointView.vue b/src/views/document/WaypointView.vue index 787a3105b4..a87c4f0e85 100644 --- a/src/views/document/WaypointView.vue +++ b/src/views/document/WaypointView.vue @@ -114,7 +114,7 @@ -
+
+
@@ -157,6 +158,10 @@ export default { capacityContext() { return this.document.waypoint_type === 'bivouac' ? this.document.waypoint_type : null; }, + showMainBox() { + const { summary, access_period, description, access, external_resources } = this.locale; + return summary || access_period || description || access || external_resources; + }, }, }; diff --git a/src/views/wiki/edition/WaypointEditionView.vue b/src/views/wiki/edition/WaypointEditionView.vue index 6fe53aa4ba..cad7574b5b 100644 --- a/src/views/wiki/edition/WaypointEditionView.vue +++ b/src/views/wiki/edition/WaypointEditionView.vue @@ -137,6 +137,13 @@ :label="accessTitle" /> + +