Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changemement menu d'administration 'Animations' en 'Gestion' #78

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

# Changelog

**🐛 Corrections**
- Menu administration "Animations" renommé en "Gestion"

## 0.4.0 (unreleased)

## 0.3.0 (2024-06-24)
Expand Down
4 changes: 2 additions & 2 deletions front-vite/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const isMenuOpened = ref(false)

const items = ref([
{
label: 'Animations',
icon: 'pi pi-calendar',
label: 'Gestion',
icon: 'pi pi-cog',
isAuth: true,
isAdmin: true,
route: '/events',
Expand Down
16 changes: 8 additions & 8 deletions front-vite/src/views/EventListingView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<header class="hidden md:block bg-white shadow">
<div class="mx-auto max-w-7xl px-4 py-6 sm:px-6 lg:px-8">
<h1 class="text-3xl font-bold tracking-tight text-gray-900">
Listing des animations
Gestion des animations
</h1>
</div>
</header>
Expand All @@ -29,13 +29,13 @@
<form @submit.prevent="search">
<div class="w-full flex justify-between mb-4">
<span class=" w-full">

<p-input-text
v-model="filters.search_name"
class="rounded-sm w-full p-inputtext-sm p-2 ring-1 ring-inset ring-gray-300"
placeholder="Nom animation"
/>
</span>
</span>

<button
v-if="!formOpened"
Expand Down Expand Up @@ -71,7 +71,7 @@
placeholder="Date de fin"
dateFormat="dd/mm/yy"
showIcon
showButtonBar
showButtonBar
/>
<p-multi-select
v-model="filters.massif"
Expand Down Expand Up @@ -131,7 +131,7 @@
</form>

</template>
<template #list="slotProps">
<template #list="slotProps">

<div v-for="(data, index) in slotProps.items" :key="index" class="col-12">
<router-link
Expand Down Expand Up @@ -445,7 +445,7 @@ import EventReservationForm from '@/components/EventReservationForm.vue'

import PDataView from 'primevue/dataview'
import PCalendar from 'primevue/calendar'
import PInputText from 'primevue/inputtext'
import PInputText from 'primevue/inputtext'
import PMultiSelect from 'primevue/multiselect';
import PCard from 'primevue/card'
import PTabView from 'primevue/tabview'
Expand Down Expand Up @@ -737,7 +737,7 @@ async function loadSelectedEvent () {
* Chargement initial : événements + glossaires
*/
onBeforeMount(async () => {
await loadEvents()
await loadEvents()
await loadSelectedEvent()
filters.value = defaultFilters.value;
const districtsResponse = await getDistricts()
Expand Down Expand Up @@ -767,7 +767,7 @@ onBeforeMount(async () => {
}

.p-inputtext, .p-checkbox-box {
border: 1px solid var(--gray-300);
border: 1px solid var(--gray-300);
}

</style>