Skip to content

Commit

Permalink
fix close reportErrorView
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-chmbn committed Oct 18, 2023
1 parent 9464c38 commit ed5e814
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/theses/ReportErrorView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ const emit = defineEmits(['close', 'done']);
const { t } = useI18n();
//Chargement de recaptcha sur ce composant, puis suppression lorsque le composant n'est plus utilisé
var script = document.createElement('script');
onMounted(() => {
Expand Down Expand Up @@ -139,6 +137,8 @@ function validate() {
const error = res.error.value;
if (error) {
errMsg.value = "Erreur : " + error.data.message;
} else {
emit('done');
}
}).catch((err) => {
errMsg.value = "Erreur : " + err.response.data.message;
Expand Down
9 changes: 6 additions & 3 deletions components/theses/ThesisTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
<span v-if="these.etabCotutelle.length > 0">
{{ $t('theseView.cotutelle') }}
<span v-for="(item, index) in these.etabCotutelle" :key="item.ppn"><strong>
<a class='clickable lightblue' :href='"/" + item.ppn'> {{ item.nom }} </a> </strong>
<span :class='item.ppn ? "clickable lightblue" : ""' @click="linkTo(item.ppn)"> {{ item.nom }} </span>
</strong>
<span v-if="index < these.etabCotutelle.length - 1">, </span>
</span>
</span>
Expand All @@ -80,7 +81,8 @@
<td><strong>{{ $t('theseView.ecoles') }}&nbsp;:{{ '\xa0' }}</strong></td>
<td>
<span v-for="(ecole, index) in these.ecolesDoctorales" :key="ecole.ppn">
<strong><a class='clickable lightblue' :href='"/" + ecole.ppn'> {{ ecole.nom }}</a></strong>
<strong><span :class='ecole.ppn ? "clickable lightblue" : ""' @click="linkTo(ecole.ppn)"> {{ ecole.nom
}}</span></strong>
<span v-if="index < these.ecolesDoctorales.length - 1">,{{ "\xa0" }}</span>
</span>
</td>
Expand All @@ -92,7 +94,8 @@
</td>
<td>
<span v-for="(ecole, index) in these.partenairesRecherche" :key="ecole.ppn">
<a class='clickable lightblue' :href='"/" + ecole.ppn'> {{ ecole.nom }} </a> {{ '\xa0' }} ({{ ecole.type }})
<span :class='ecole.ppn ? "clickable lightblue" : ""' @click="lintoTo(ecole.ppn)"> {{ ecole.nom }} </span> {{
'\xa0' }} ({{ ecole.type }})
<span v-if="index < these.partenairesRecherche.length - 1">,{{ '\xa0' }}</span>
</span>
</td>
Expand Down
2 changes: 1 addition & 1 deletion error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const handleError = () => clearError({ redirect: '/' })
Indisponible</div>
</h1>
<p v-if="error.statusCode.toString().startsWith('5')"><strong>Merci d'essayer à nouveau dans quelques instants.
Si le problème persiste vous
Si le problème persiste, vous
pouvez contacter le guichet
d'assistance de l'Abes : <a href="https://stp.abes.fr/node/3?origine=thesesFr"
target="_blank">https://stp.abes.fr/node/3?origine=thesesFr</a>.</strong>
Expand Down

0 comments on commit ed5e814

Please sign in to comment.