Skip to content

Commit

Permalink
Merge pull request #4202 from LibreSign/backport/4199/stable29
Browse files Browse the repository at this point in the history
[stable29] feat: add rate LibreSign
  • Loading branch information
vitormattos authored Dec 29, 2024
2 parents 26f0426 + fcf42f7 commit 1be2191
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</template>
<template #footer>
<NcAppNavigationSettings :title="t('libresign', 'Settings')">
<CroppedLayoutSettings />
<Settings />
</NcAppNavigationSettings>
</template>
</NcAppNavigation>
Expand All @@ -77,7 +77,7 @@ import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation.js'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import NcAppNavigationSettings from '@nextcloud/vue/dist/Components/NcAppNavigationSettings.js'

import CroppedLayoutSettings from '../Settings/CroppedLayoutSettings.vue'
import Settings from '../Settings/Settings.vue'

import { useFilesStore } from '../../store/files.js'

Expand All @@ -91,7 +91,7 @@ export default {
FileCheckIcon,
FolderIcon,
FileSignIcon,
CroppedLayoutSettings,
Settings,
},
setup() {
const filesStore = useFilesStore()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,25 @@
<NcAppNavigationItem icon="icon-user"
:name="t('libresign', 'Account')"
:to=" {name: 'Account'} " />
<NcAppNavigationItem :name="t('libresign', 'Rate LibreSign ❤️')"
href="https://apps.nextcloud.com/apps/libresign#comments">
<template #icon>
<StarIcon :size="20" />
</template>
</NcAppNavigationItem>
</ul>
</template>

<script>
import StarIcon from 'vue-material-design-icons/Star.vue'

import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'

export default {
name: 'CroppedLayoutSettings',
name: 'Settings',
components: {
NcAppNavigationItem,
StarIcon,
},
}
</script>

0 comments on commit 1be2191

Please sign in to comment.