Skip to content

Commit

Permalink
minor ui improvement in project page
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Sep 13, 2024
1 parent 8e9e972 commit bff9180
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/pages/Project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@
/>
<q-tooltip content-class="text-white bg-primary"> {{ $t('projectView.tooltipSynchronizedProject') }} {{ syncGithubRepo }} </q-tooltip>
</div>
<q-btn v-if="isAdmin" no-caps outline color="primary" :label="$t('projectView.settings')" icon="tune" @click="projectSettingsDial = true">
<q-tooltip>
<q-btn :disable="!isAdmin" no-caps outline color="primary" :label="$t('projectView.settings')" icon="tune" @click="projectSettingsDial = true">
<q-tooltip v-if="!isAdmin">
If you want to change the configuration of your project please contact one of the admins of your project:
{{ admins.join(',') }}
</q-tooltip>
<q-tooltip v-else>
{{ $t('projectView.tooltipSettings') }}
</q-tooltip>
</q-btn>
Expand All @@ -80,7 +84,6 @@
</q-tabs>
<q-tab-panels keep-alive v-model="tab">
<q-tab-panel class="q-gutter-md" name="samples">

<ProjectOptions
:selected-samples="selectedSamples"
:canDeleteFromGithub="isAllowdedToSync && syncGithubRepo !== undefined"
Expand Down

0 comments on commit bff9180

Please sign in to comment.