Merge pull request 'add labels on buttons (fix #311)' (#312) from feature/issue311-btnlabel into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #312
This commit is contained in:
commit
cf2e28960b
|
@ -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/>.
|
||||
-->
|
||||
<template>
|
||||
<button class="side-menu-opener"></button>
|
||||
<button class="side-menu-opener" :arial-label="label"></button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'OpenerButton',
|
||||
data() {
|
||||
return {
|
||||
label: t('side_menu', 'Toggle menu'),
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1115,19 +1115,19 @@ $labelAlwaysDisplayed = 'Always displayed';
|
|||
</div>
|
||||
|
||||
<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')); ?>
|
||||
<progress max="100" value="0" id="side-menu-save-progress"></progress>
|
||||
</button>
|
||||
|
||||
<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')); ?>
|
||||
</button>
|
||||
</a>
|
||||
|
||||
<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)
|
||||
</button>
|
||||
</a>
|
||||
|
@ -1139,7 +1139,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
|||
<?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">
|
||||
<button>
|
||||
<button arial-label="<?php p($l->t('Buy me a coffee ☕')); ?>">
|
||||
<?php p($l->t('Buy me a coffee ☕')); ?>
|
||||
</button>
|
||||
</a>
|
||||
|
|
|
@ -240,8 +240,7 @@ $labelReset = 'Reset to default';
|
|||
|
||||
<div class="section">
|
||||
<?php if (!$_['force']): ?>
|
||||
<button id="side-menu-save" class="btn btn-info">
|
||||
<?php p($l->t('Save')); ?>
|
||||
<button id="side-menu-save" class="btn btn-info" arial-label="<?php p($l->t('Save')); ?>">
|
||||
<progress max="100" value="0" id="side-menu-save-progress"></progress>
|
||||
</button>
|
||||
|
||||
|
@ -255,7 +254,7 @@ $labelReset = 'Reset to default';
|
|||
<?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">
|
||||
<button>
|
||||
<button arial-label="<?php p($l->t('Buy me a coffee ☕')); ?>">
|
||||
<?php p($l->t('Buy me a coffee ☕')); ?>
|
||||
</button>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue