diff --git a/src/styles/shared-files.scss b/src/styles/shared-files.scss index e6d5cb6a619e70f3fb8e111f65c6d4cafdad3a4b..31ae1f2771c6fe43088b43acba8b94da09094ed7 100644 --- a/src/styles/shared-files.scss +++ b/src/styles/shared-files.scss @@ -69,5 +69,25 @@ label { display: block; } + } + [name="document"] { + label { + display: block; + padding-bottom: 5px; + } + input[type="text"] { + display: none; + } + } +} +.community-files-add { + [name="document"] { + label { + display: block; + padding-bottom: 5px; + } + input[type="text"] { + display: none; + } } } \ No newline at end of file diff --git a/src/views-terrytories.js b/src/views-terrytories.js index 8217ac36be03b240e39eacc35105ca745cde6197..166ad916ca216f3d1ad7a131f795c12fc32f2542 100644 --- a/src/views-terrytories.js +++ b/src/views-terrytories.js @@ -1586,7 +1586,7 @@ import("./utils.js").then((utils) => { <div id="${utils.TZCLD_URLS.my_territory_shared_files_all}" data-view="${utils.TZCLD_URLS.my_territory_shared_files_all}" class="community-files" hidden> </div> - <div id="${utils.TZCLD_URLS.my_territory_shared_file_add}" data-view="${utils.TZCLD_URLS.my_territory_shared_file_add}" class="community-files" hidden> + <div id="${utils.TZCLD_URLS.my_territory_shared_file_add}" data-view="${utils.TZCLD_URLS.my_territory_shared_file_add}" class="community-files-add" hidden> ${this.viewCommunitySharedFileAdd(false, utils.TZCLD_URLS.my_territory_exchanges)} </div> @@ -1606,7 +1606,7 @@ import("./utils.js").then((utils) => { <div id="${utils.TZCLD_URLS.my_territory_grappe_shared_files_all}" data-view="${utils.TZCLD_URLS.my_territory_grappe_shared_files_all}" class="community-files" hidden> </div> - <div id="${utils.TZCLD_URLS.my_territory_grappe_shared_file_add}" data-view="${utils.TZCLD_URLS.my_territory_grappe_shared_file_add}" class="community-files" hidden> + <div id="${utils.TZCLD_URLS.my_territory_grappe_shared_file_add}" data-view="${utils.TZCLD_URLS.my_territory_grappe_shared_file_add}" class="community-files-add" hidden> ${this.viewCommunitySharedFileAdd(nested_shared_ref_value, utils.TZCLD_URLS.my_territory_exchanges)} </div>