From 124eda05fe1808b9af4c5ecb417b5a33d464e313 Mon Sep 17 00:00:00 2001 From: paidge <paidge_cs@hotmail.com> Date: Mon, 24 Jan 2022 18:22:40 +0100 Subject: [PATCH] improve UI --- components/member/List.vue | 10 ++++++---- pages/membres/index.vue | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/member/List.vue b/components/member/List.vue index ceaa396..a15fd48 100644 --- a/components/member/List.vue +++ b/components/member/List.vue @@ -7,7 +7,7 @@ <th scope="col" class="d-none d-xl-table-cell" v-if="displayPubkey"> {{ $t("cle.publique.title") }} </th> - <th scope="col" class="d-none d-xl-table-cell" v-if="displayDate"> + <th scope="col" class="d-none d-sm-table-cell" v-if="displayDate"> {{ $t("membre.datelimpertestatut") }} </th> </tr> @@ -18,8 +18,7 @@ :key="member.uid" @click="redirect(member.hash)"> <th scope="row"> - <span v-if="$isFavourite(member.uid)">★ </span> - {{ member.uid }} + <span v-if="$isFavourite(member.uid)">★ </span>{{ member.uid }} <BadgeCertifStatus :limitDate="member.received_certifications.limit" :memberStatus="member.status" /> @@ -28,7 +27,10 @@ <td class="d-none d-xl-table-cell" v-if="displayPubkey"> {{ member.pubkey.substring(0, 10) }} </td> - <td v-if="displayDate" v-html="getDatePerteStatus(member)"></td> + <td + class="d-none d-sm-table-cell" + v-if="displayDate" + v-html="getDatePerteStatus(member)"></td> </tr> </tbody> </table> diff --git a/pages/membres/index.vue b/pages/membres/index.vue index 480e75f..47ef31c 100644 --- a/pages/membres/index.vue +++ b/pages/membres/index.vue @@ -28,7 +28,7 @@ idSearch && param.length > 2 && !$apollo.queries.idSearch.loading "> <div class="col-8 m-auto"> - <MemberList :members="idSearch.ids" :displayDate="false" /> + <MemberList :members="idSearch.ids" /> </div> </div> </transition> -- GitLab