Merge pull request 'release v3.11.4' (#313) from develop into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Reviewed-on: #313
This commit is contained in:
Simon Vieille 2024-01-27 10:47:53 +01:00
commit 810d83880b
6 changed files with 25 additions and 9 deletions

View file

@ -1,4 +1,12 @@
steps: steps:
check-tag:
image: alpine
commands:
- TAG=${CI_COMMIT_TAG/v//}
- grep "<version>$TAG</version>" appinfo/info.xml
when:
event: [tag]
dependencies: dependencies:
image: node:16 image: node:16
pull: true pull: true

View file

@ -1,5 +1,9 @@
## [Unreleased] ## [Unreleased]
## 3.11.4
### Fixed
* add label on buttons for accessiblity (fix #311)
## 3.11.3 ## 3.11.3
### Fixed ### Fixed
* fix menu icon in decks, collectives and other apps (#302) * fix menu icon in decks, collectives and other apps (#302)

View file

@ -32,7 +32,7 @@ Notice
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**. Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/). In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
]]></description> ]]></description>
<version>3.11.3</version> <version>3.11.4</version>
<licence>agpl</licence> <licence>agpl</licence>
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author> <author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
<namespace>SideMenu</namespace> <namespace>SideMenu</namespace>

View file

@ -15,11 +15,16 @@ 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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<template> <template>
<button class="side-menu-opener"></button> <button class="side-menu-opener" :arial-label="label"></button>
</template> </template>
<script> <script>
export default { export default {
name: 'OpenerButton', name: 'OpenerButton',
data() {
return {
label: t('side_menu', 'Toggle menu'),
}
}
} }
</script> </script>

View file

@ -1115,19 +1115,19 @@ $labelAlwaysDisplayed = 'Always displayed';
</div> </div>
<div class="section" id="more"> <div class="section" id="more">
<button id="side-menu-save" class="btn btn-info"> <button id="side-menu-save" class="btn btn-info" arial-label="<?php p($l->t('Save')); ?>">
<?php p($l->t('Save')); ?> <?php p($l->t('Save')); ?>
<progress max="100" value="0" id="side-menu-save-progress"></progress> <progress max="100" value="0" id="side-menu-save-progress"></progress>
</button> </button>
<a href="<?php echo $urlGenerator->linkToRoute('side_menu.AdminSetting.exportConfiguration') ?>" target="_blank" rel="noopener"> <a href="<?php echo $urlGenerator->linkToRoute('side_menu.AdminSetting.exportConfiguration') ?>" target="_blank" rel="noopener">
<button class="btn btn-primary" > <button class="btn btn-primary" arial-label="<?php p($l->t('Export the configuration')); ?>">
<?php p($l->t('Export the configuration')); ?> <?php p($l->t('Export the configuration')); ?>
</button> </button>
</a> </a>
<a href="<?php echo $urlGenerator->linkToRoute('side_menu.AdminSetting.removeCache') ?>"> <a href="<?php echo $urlGenerator->linkToRoute('side_menu.AdminSetting.removeCache') ?>">
<button class="btn btn-primary" > <button class="btn btn-primary" arial-label="<?php p($l->t('Purge the cache')); ?>">
<?php p($l->t('Purge the cache')); ?> (<?php echo $cacheSize ?> Kb) <?php p($l->t('Purge the cache')); ?> (<?php echo $cacheSize ?> Kb)
</button> </button>
</a> </a>
@ -1139,7 +1139,7 @@ $labelAlwaysDisplayed = 'Always displayed';
<?php p($l->t('You like this app and you want to support me?')); ?> <?php p($l->t('You like this app and you want to support me?')); ?>
<a style="margin-left: 10px" target="_blank" href="https://www.buymeacoffee.com/deblan" rel="noopener"> <a style="margin-left: 10px" target="_blank" href="https://www.buymeacoffee.com/deblan" rel="noopener">
<button> <button arial-label="<?php p($l->t('Buy me a coffee ☕')); ?>">
<?php p($l->t('Buy me a coffee ☕')); ?> <?php p($l->t('Buy me a coffee ☕')); ?>
</button> </button>
</a> </a>

View file

@ -240,8 +240,7 @@ $labelReset = 'Reset to default';
<div class="section"> <div class="section">
<?php if (!$_['force']): ?> <?php if (!$_['force']): ?>
<button id="side-menu-save" class="btn btn-info"> <button id="side-menu-save" class="btn btn-info" arial-label="<?php p($l->t('Save')); ?>">
<?php p($l->t('Save')); ?>
<progress max="100" value="0" id="side-menu-save-progress"></progress> <progress max="100" value="0" id="side-menu-save-progress"></progress>
</button> </button>
@ -255,7 +254,7 @@ $labelReset = 'Reset to default';
<?php p($l->t('You like this app and you want to support me?')); ?> <?php p($l->t('You like this app and you want to support me?')); ?>
<a style="margin-left: 10px" target="_blank" href="https://www.buymeacoffee.com/deblan" rel="noopener"> <a style="margin-left: 10px" target="_blank" href="https://www.buymeacoffee.com/deblan" rel="noopener">
<button> <button arial-label="<?php p($l->t('Buy me a coffee ☕')); ?>">
<?php p($l->t('Buy me a coffee ☕')); ?> <?php p($l->t('Buy me a coffee ☕')); ?>
</button> </button>
</a> </a>