|
|
@@ -8,75 +8,16 @@
|
|
|
>
|
|
|
<v-row>
|
|
|
<v-col cols="12">
|
|
|
- <div class="my-5">
|
|
|
- <span>{{ $t('your_opentalent_website_address_is') }} : </span>
|
|
|
- <strong class="ml-2">
|
|
|
- <a :href="organizationProfile.website ?? '#'" target="_blank">
|
|
|
- {{ organizationProfile.website }}
|
|
|
- </a>
|
|
|
- </strong>
|
|
|
- </div>
|
|
|
-
|
|
|
- <!-- les publicationDirectors sont des entités Access -->
|
|
|
- <UiInputAutocompleteAccesses
|
|
|
- v-model="parameters.publicationDirectors"
|
|
|
- field="publicationDirectors"
|
|
|
- multiple
|
|
|
- chips
|
|
|
- variant="outlined"
|
|
|
- class="my-4"
|
|
|
- />
|
|
|
-
|
|
|
- <div class="mb-6">
|
|
|
- <div>
|
|
|
- <h4>{{ $t('your_subdomains') }} :</h4>
|
|
|
- </div>
|
|
|
- <UiLoadingPanel v-if="subdomainsPending" />
|
|
|
- <div v-else>
|
|
|
- <v-table v-if="subdomains!.items" class="subdomains-table my-2">
|
|
|
- <tbody>
|
|
|
- <tr
|
|
|
- v-for="subdomain in subdomains!.items"
|
|
|
- :key="subdomain.id"
|
|
|
- :title="subdomain.subdomain"
|
|
|
- :class="
|
|
|
- 'subdomainItem' + (subdomain.active ? ' active' : '')
|
|
|
- "
|
|
|
- @click="goToEditPage(subdomain.id)"
|
|
|
- >
|
|
|
- <td>{{ subdomain.subdomain }}</td>
|
|
|
- <td>
|
|
|
- <span v-if="subdomain.active">
|
|
|
- <v-icon class="text-success icon">
|
|
|
- fa-solid fa-check
|
|
|
- </v-icon>
|
|
|
- {{ $t('active') }}
|
|
|
- </span>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </v-table>
|
|
|
- <span v-else>{{ $t('no_recorded_subdomain') }}</span>
|
|
|
-
|
|
|
- <div class="d-flex flex-row justify-center w-100">
|
|
|
- <v-btn
|
|
|
- :disabled="!canAddNewSubdomain"
|
|
|
- class="my-5"
|
|
|
- @click="onAddSubdomainClick"
|
|
|
- >
|
|
|
- {{ $t('record_a_new_subdomain') }}
|
|
|
- </v-btn>
|
|
|
- </div>
|
|
|
+ <div class="my-5 d-flex flex-row">
|
|
|
+ <div class="flex-grow-1 align-self-center">
|
|
|
+ <span>{{ $t('your_opentalent_website_address_is') }} : </span>
|
|
|
+ <strong class="ml-2">
|
|
|
+ <a :href="organizationProfile.website ?? '#'" target="_blank">
|
|
|
+ {{ organizationProfile.website }}
|
|
|
+ </a>
|
|
|
+ </strong>
|
|
|
</div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div v-if="!organizationProfile.isCmf">
|
|
|
- <v-divider class="my-10" />
|
|
|
-
|
|
|
- <div
|
|
|
- v-if="!organizationProfile.isCmf"
|
|
|
- class="my-8 d-flex flex-row justify-center w-100"
|
|
|
- >
|
|
|
+ <div v-if="!organizationProfile.isCmf">
|
|
|
<v-btn
|
|
|
v-if="!parameters.desactivateOpentalentSiteWeb"
|
|
|
color="error"
|
|
|
@@ -120,6 +61,60 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <!-- les publicationDirectors sont des entités Access -->
|
|
|
+ <UiInputAutocompleteAccesses
|
|
|
+ v-model="parameters.publicationDirectors"
|
|
|
+ field="publicationDirectors"
|
|
|
+ multiple
|
|
|
+ chips
|
|
|
+ variant="outlined"
|
|
|
+ class="my-4"
|
|
|
+ />
|
|
|
+
|
|
|
+ <div class="mb-6">
|
|
|
+ <div class="d-flex flex-row">
|
|
|
+ <h4 class="flex-grow-1 align-self-center">
|
|
|
+ {{ $t('your_subdomains') }}
|
|
|
+ </h4>
|
|
|
+
|
|
|
+ <v-btn
|
|
|
+ :disabled="!canAddNewSubdomain"
|
|
|
+ class="my-5"
|
|
|
+ @click="onAddSubdomainClick"
|
|
|
+ >
|
|
|
+ {{ $t('record_a_new_subdomain') }}
|
|
|
+ </v-btn>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <UiLoadingPanel v-if="subdomainsPending" />
|
|
|
+ <div v-else>
|
|
|
+ <v-table v-if="subdomains!.items" class="subdomains-table my-2">
|
|
|
+ <tbody>
|
|
|
+ <tr
|
|
|
+ v-for="subdomain in subdomains!.items"
|
|
|
+ :key="subdomain.id"
|
|
|
+ :title="subdomain.subdomain"
|
|
|
+ :class="
|
|
|
+ 'subdomainItem' + (subdomain.active ? ' active' : '')
|
|
|
+ "
|
|
|
+ @click="goToEditPage(subdomain.id)"
|
|
|
+ >
|
|
|
+ <td>{{ subdomain.subdomain }}</td>
|
|
|
+ <td>
|
|
|
+ <span v-if="subdomain.active">
|
|
|
+ <v-icon class="text-success icon">
|
|
|
+ fa-solid fa-check
|
|
|
+ </v-icon>
|
|
|
+ {{ $t('active') }}
|
|
|
+ </span>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
+ </v-table>
|
|
|
+ <span v-else>{{ $t('no_recorded_subdomain') }}</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div>
|
|
|
<UiInputText
|
|
|
v-model="parameters.otherWebsite"
|
|
|
@@ -202,10 +197,6 @@ const onDialogYesBtnClick = () => {
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
-.subdomains-table {
|
|
|
- max-width: 450px;
|
|
|
-}
|
|
|
-
|
|
|
.subdomainItem {
|
|
|
cursor: pointer;
|
|
|
border: solid 1px rgb(var(--v-theme-neutral-strong));
|