-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
viewer: allow showing meta in slideshow (close #819)
Signed-off-by: Varun Patil <[email protected]>
- Loading branch information
Showing
5 changed files
with
21 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,3 @@ | ||
<!-- | ||
- @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com> | ||
- | ||
- @author John Molakvoæ <[email protected]> | ||
- | ||
- @license AGPL-3.0-or-later | ||
- | ||
- This program is free software: you can redistribute it and/or modify | ||
- it under the terms of the GNU Affero General Public License as | ||
- published by the Free Software Foundation, either version 3 of the | ||
- License, or (at your option) any later version. | ||
- | ||
- This program is distributed in the hope that it will be useful, | ||
- but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
- GNU Affero General Public License for more details. | ||
- | ||
- You should have received a copy of the GNU Affero General Public License | ||
- along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
- | ||
--> | ||
|
||
<template> | ||
<div> | ||
<NcAppSettingsDialog | ||
|
@@ -72,6 +50,14 @@ | |
{{ t('memories', 'Show full file path in sidebar') }} | ||
</NcCheckboxRadioSwitch> | ||
|
||
<NcCheckboxRadioSwitch | ||
:checked.sync="config.metadata_in_slideshow" | ||
@update:checked="updateMetadataInSlideshow" | ||
type="switch" | ||
> | ||
{{ t('memories', 'Show metadata in slideshow') }} | ||
</NcCheckboxRadioSwitch> | ||
|
||
<div class="radio-group"> | ||
<div class="title">{{ t('memories', 'High resolution image loading behavior') }}</div> | ||
<NcCheckboxRadioSwitch | ||
|
@@ -330,6 +316,10 @@ export default defineComponent({ | |
await this.updateSetting('sidebar_filepath', 'sidebarFilepath'); | ||
}, | ||
async updateMetadataInSlideshow() { | ||
await this.updateSetting('metadata_in_slideshow', 'metadataInSlideshow'); | ||
}, | ||
// Folders settings | ||
async updateShowHidden() { | ||
await this.updateSetting('show_hidden_folders', 'showHidden'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters