Skip to content

Commit

Permalink
Ajout Title
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelQuetin committed Oct 16, 2024
1 parent 5eea130 commit a04f7ef
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/components/RecapDemande.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<!-- INFOS GENERALES DE LA DEMANDE -->
<div v-if="demande" id="demInfos" class="elevation-2 mb-4 mt-2">
<h3 class="d-flex justify-center">Ma demande</h3>
<h3 class="d-flex justify-center" >{{title}}</h3>
<v-container >
<v-row>
<v-col>
Expand Down Expand Up @@ -32,7 +32,8 @@
<script setup>
const props = defineProps({
demande: {type: Object, required: true}
demande: {type: Object, required: true},
title: {type: String, required: false, default: "Ma demande"}
});
</script>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Exemplarisation/ExempSteps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-container :class="(currentStep === 3) ? '' : 'fill-height'" fluid>
<v-col :class="(currentStep === 3) ? '' : 'fill-height'">
<v-row>
<recap-demande v-if="currentStep !== 3" :demande="demande"></recap-demande>
<recap-demande v-if="currentStep !== 3" :demande="demande" title="Ma demande de Création"></recap-demande>
</v-row>
<v-row align="center" justify="center">
<v-col :md="(currentStep === 3) ? '' : '7'">
Expand Down
2 changes: 1 addition & 1 deletion src/views/Modification/ModifSteps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-container :class="(currentStep === 4) ? '' : 'fill-height'" fluid>
<v-col class="fill-height">
<v-row align="center" justify="center">
<recap-demande v-if="currentStep < 4" :demande="demande"></recap-demande>
<recap-demande v-if="currentStep < 4" :demande="demande" title="Ma demande de Modification"></recap-demande>
</v-row>
<v-row align="center" justify="center">
<v-col :md="(currentStep === 4) ? '' : '7'">
Expand Down
2 changes: 1 addition & 1 deletion src/views/Recouvrement/RecouvSteps.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-container class="fill-height" fluid>
<v-col :class="(currentStep === 3) ? '' : 'fill-height'">
<recap-demande :demande="demande"></recap-demande>
<recap-demande :demande="demande" title="Ma demande de Recouvrement"></recap-demande>
<v-row align="center" justify="center">
<v-col md="7">
<v-stepper v-model="currentStep" alt-labels>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Suppression/SuppSteps.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-container :class="(currentStep === 3) ? '' : 'fill-height'" fluid>
<v-col :class="(currentStep === 3) ? '' : 'fill-height'">
<recap-demande v-if="currentStep < 3" :demande="demande"></recap-demande>
<recap-demande v-if="currentStep < 3" :demande="demande" title="Ma demande de Suppression"></recap-demande>
<v-row align="center" justify="center">
<v-col :md="(currentStep === 3) ? '' : '7'">
<v-stepper v-model="currentStep" @update:model-value="changeEtape()" alt-labels>
Expand Down

0 comments on commit a04f7ef

Please sign in to comment.