Skip to content

Commit

Permalink
Merge pull request #207 from abes-esr/test
Browse files Browse the repository at this point in the history
FIX Contraste boutons export + thèses soutenues en attente de traitement
  • Loading branch information
theo-chmbn authored Apr 10, 2024
2 parents cd8d8eb + 0860e6f commit db75360
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion components/common/ExportButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
>
<v-list-item-title class="export-titles">{{ $t(index) }}</v-list-item-title>
<v-list-item-subtitle v-for="file in exportType" class="export-buttons">
<v-btn color="secondary-darken-2" density="compact" :href="file.url">
<v-btn color="secondary-darken-3" density="compact" :href="file.url">
{{ file.title }}
</v-btn>
</v-list-item-subtitle>
Expand Down Expand Up @@ -68,6 +68,9 @@ exportTypeList.value = {
max-width: 90%;
font-weight: 500;
:deep(.mdi-upload-box) {
color: rgb(var(--v-theme-secondary-darken-2));
}
:deep(.mdi-file-export-outline) {
color: rgb(var(--v-theme-dark-blue));
}
Expand Down
2 changes: 1 addition & 1 deletion components/common/ExportQueryButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<v-list-item v-for="(exportType, index) in exportTypeList" :key="index">
<v-list-item-title class="export-titles">{{ $t(index) }}</v-list-item-title>
<v-list-item-subtitle v-for="file in exportType" class="export-buttons">
<v-btn color="secondary-darken-2" density="compact" :href="file.url" target="_blank">
<v-btn color="secondary-darken-3" density="compact" :href="file.url" target="_blank">
{{ file.title }}
</v-btn>
</v-list-item-subtitle>
Expand Down
2 changes: 1 addition & 1 deletion components/theses/ThesisComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="thesis-info-access-wrapper">
<ThesesThesisTitle :status="these.status" :titles="these.titres" />
<!-- Bare latérale Desktop -->
<div v-if="!mobile && soutenue && (categoriesValide.length > 0 || boutonsAutres.lenght > 0)" class="access-buttons">
<div v-if="!mobile && ((categoriesValide.length > 0 || boutonsAutres.length > 0) || (soutenue && these.status === 'enCours'))" class="access-buttons">
<!-- Menu boutons-liens desktop-->
<ThesesButtonsList :categories-valide="categoriesValide" :status="these.status"
:source="these.source" :boutons-autres="boutonsAutres" :soutenue="soutenue"
Expand Down

0 comments on commit db75360

Please sign in to comment.