mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-23 13:33:20 +00:00
Add global and organization secrets (#1027)
* Implement database changes and store methods for global and organization secrets * Add tests for new store methods * Add organization secret API and UI * Add global secrets API and UI * Add suggestions * Update warning style * Apply suggestions from code review Co-authored-by: Anbraten <anton@ju60.de> * Fix lint warning Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
@@ -26,6 +26,12 @@
|
||||
class="!text-white !dark:text-gray-500"
|
||||
@click="darkMode = !darkMode"
|
||||
/>
|
||||
<IconButton
|
||||
v-if="user?.admin"
|
||||
icon="settings"
|
||||
class="!text-white !dark:text-gray-500"
|
||||
:to="{ name: 'admin-settings' }"
|
||||
/>
|
||||
<router-link v-if="user" :to="{ name: 'user' }">
|
||||
<img v-if="user && user.avatar_url" class="w-8" :src="`${user.avatar_url}`" />
|
||||
</router-link>
|
||||
|
Reference in New Issue
Block a user