Compare commits
45 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 04026f5c75 | |||
| dbd0de7679 | |||
| 07a1d356de | |||
| d3359337f9 | |||
| 4b9378f923 | |||
| 117e33692b | |||
| 48b2b30406 | |||
| 18e8f42dc3 | |||
| 22e5445330 | |||
| 01669f83c2 | |||
| f1c33cc626 | |||
| 87ff20aa19 | |||
| ce969b4061 | |||
| ed4ed62fb6 | |||
| 5a586c40a1 | |||
| 0544fd3765 | |||
| b141d7ba7c | |||
| 2635dd89ca | |||
| 0ee10e08e9 | |||
| 1093042a17 | |||
| 9566d32a89 | |||
| aa203bb406 | |||
| 3861d78975 | |||
| 571706986e | |||
| ed31ed3623 | |||
| 368c59a2bd | |||
| 59af6a9068 | |||
| 1965aedc43 | |||
| ab46bd7341 | |||
| 3aace8cbdd | |||
| 6425546cd1 | |||
| 3664b8979d | |||
| 83732994bb | |||
| c65d09e268 | |||
| 2da2e10017 | |||
| 8da90bbc06 | |||
| ab7b1e96fe | |||
| d4adda19b3 | |||
| f4322a8d71 | |||
| ae3db9cf7f | |||
| 05ff6d483b | |||
| dfc61140ec | |||
| 4918049270 | |||
| 4001f162b6 | |||
| 7a43ca2c75 |
@@ -1,16 +0,0 @@
|
||||
---
|
||||
name: "New feature"
|
||||
about: "Use this template if you want to request a feature"
|
||||
title: "[FEATURE] "
|
||||
labels:
|
||||
- enhancement
|
||||
---
|
||||
## Feature
|
||||
|
||||
### Description
|
||||
|
||||
...
|
||||
|
||||
### Benefits
|
||||
|
||||
...
|
||||
@@ -0,0 +1,34 @@
|
||||
name: New feature
|
||||
about: Use this template if you want to request a feature
|
||||
title: "[FEATURE] "
|
||||
labels:
|
||||
- enhancement
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for taking the time to fill out this feature request!
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Description
|
||||
description: Describe the feature.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: benefits
|
||||
attributes:
|
||||
label: Benefits
|
||||
description: Describe the benefits of this feature.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: extra
|
||||
attributes:
|
||||
label: More informations
|
||||
description: If you want to share more things, this is here!
|
||||
validations:
|
||||
required: false
|
||||
@@ -1,32 +0,0 @@
|
||||
---
|
||||
name: "New issue"
|
||||
about: "Use this template if you have a bug"
|
||||
title: "[BUG] "
|
||||
labels:
|
||||
- bug
|
||||
---
|
||||
## Issue
|
||||
|
||||
### Environment
|
||||
|
||||
* Custom menu version:
|
||||
* Nextcloud version:
|
||||
* PHP version:
|
||||
* Web server (Nginx, Apache2):
|
||||
* Web browser and version (Firefox 80, Google Chrome 74, etc):
|
||||
|
||||
```
|
||||
Insert your configuration here. You can export the configuration using the admin page.
|
||||
```
|
||||
|
||||
### Steps to reproduce
|
||||
|
||||
...
|
||||
|
||||
### Observed Results
|
||||
|
||||
...
|
||||
|
||||
### Expected Results
|
||||
|
||||
...
|
||||
@@ -0,0 +1,69 @@
|
||||
name: New issue
|
||||
about: Use this template if you have a bug
|
||||
title: "[Bug] "
|
||||
labels:
|
||||
- bug
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for taking the time to fill out this bug report!
|
||||
|
||||
- type: textarea
|
||||
id: environment
|
||||
attributes:
|
||||
label: Environment
|
||||
value: |
|
||||
* Custom menu version:
|
||||
* Nextcloud version:
|
||||
* PHP version:
|
||||
* Web server (Nginx, Apache2):
|
||||
* Web browser and version (Firefox 80, Google Chrome 74, etc):
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: configuration
|
||||
attributes:
|
||||
label: Configuration
|
||||
description: Export the configuration using the admin page and copy/paste here ([documentation](https://deblan.gitnet.page/side_menu_doc/tips/#export-the-configuration)).
|
||||
value: |
|
||||
```
|
||||
{
|
||||
...
|
||||
}
|
||||
```
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: steps
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: How reproduce the bug?
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: resuts
|
||||
attributes:
|
||||
label: Observed Results
|
||||
description: What happened?
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: Expected Results
|
||||
description: What should happen?
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: extra
|
||||
attributes:
|
||||
label: More informations
|
||||
description: If you want to share more things, this is here!
|
||||
validations:
|
||||
required: false
|
||||
+6
-8
@@ -7,6 +7,12 @@ pipeline:
|
||||
event: [tag, push, pull_request]
|
||||
branch: [master, develop, feature/*, translations]
|
||||
|
||||
osv_detector:
|
||||
image: gitnet.fr/deblan/docker-osv-detector:v0.9
|
||||
commands:
|
||||
- osv-detector package-lock.json
|
||||
failure: ignore
|
||||
|
||||
build:
|
||||
image: gitnet.fr/deblan/devenv
|
||||
commands:
|
||||
@@ -30,14 +36,6 @@ pipeline:
|
||||
when:
|
||||
event: [pull_request]
|
||||
|
||||
dependency_check:
|
||||
image: node:16-slim
|
||||
commands:
|
||||
- npm audit
|
||||
failure: ignore
|
||||
when:
|
||||
event: [pull_request]
|
||||
|
||||
package:
|
||||
image: gitnet.fr/deblan/devenv
|
||||
volumes:
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
## [Unreleased]
|
||||
|
||||
## 3.7.0
|
||||
### Added
|
||||
* add translations (thanks to AHOHNMYC)
|
||||
* add compatibility with NC26
|
||||
|
||||
## 3.6.0
|
||||
### Added
|
||||
* add hidden apps compatible with default menu (#219)
|
||||
|
||||
## 3.5.2
|
||||
### Fixed
|
||||
* add check if menu exists before adding event listeners (#210)
|
||||
|
||||
## 3.5.1
|
||||
### Added
|
||||
* add translations (thanks to p-bo adn gallegonovato)
|
||||
### Fixed
|
||||
* fix #189: sorting not applied on mobile
|
||||
|
||||
## 3.5.0
|
||||
### Added
|
||||
* add dependency check (ci)
|
||||
|
||||
@@ -18,6 +18,8 @@ You can customize colors depending of the theme (Dark theme and Breeze Dark).
|
||||
|
||||
You like this app and you want to support me? ☕ [Buy me a coffee](https://www.buymeacoffee.com/deblan) or [Donate with liberapay](https://liberapay.com/deblan)
|
||||
|
||||
## [📘 Read the documentation](https://deblan.gitnet.page/side_menu_doc/)
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
|
||||
+3
-3
@@ -32,12 +32,12 @@ Notice
|
||||
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/).
|
||||
]]></description>
|
||||
<version>3.5.0</version>
|
||||
<version>3.7.0</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
||||
<namespace>SideMenu</namespace>
|
||||
<documentation>
|
||||
<admin>https://gitnet.fr/deblan/side_menu/src/branch/master/README.md</admin>
|
||||
<admin>https://deblan.gitnet.page/side_menu_doc/</admin>
|
||||
<developer>https://gitnet.fr/deblan/side_menu/src/branch/master/README.md</developer>
|
||||
</documentation>
|
||||
<category>customization</category>
|
||||
@@ -54,7 +54,7 @@ In case of downtime, you can download **Custom Menu** from [here](https://kim.de
|
||||
<screenshot>https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png</screenshot>
|
||||
<screenshot>https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png</screenshot>
|
||||
<dependencies>
|
||||
<nextcloud min-version="25" max-version="25"/>
|
||||
<nextcloud min-version="25" max-version="26"/>
|
||||
<php min-version="7.4"/>
|
||||
</dependencies>
|
||||
<settings>
|
||||
|
||||
+10
-3
@@ -53,6 +53,7 @@
|
||||
:aria-label="appLabel(app)"
|
||||
:aria-current="app.active ? 'page' : false"
|
||||
:href="app.href"
|
||||
:style="makeStyle(app)"
|
||||
class="app-menu-popover-entry">
|
||||
<template #icon>
|
||||
<div class="app-icon" :class="{ 'has-unread': app.unread > 0 }">
|
||||
@@ -110,13 +111,19 @@ export default {
|
||||
this.observer.disconnect()
|
||||
},
|
||||
methods: {
|
||||
appLabel() {
|
||||
return (app) => app.name
|
||||
appLabel(app) {
|
||||
return app.name
|
||||
+ (app.active ? ' (' + t('core', 'Currently open') + ')' : '')
|
||||
+ (app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
|
||||
},
|
||||
appList() {
|
||||
return Object.values(this.apps)
|
||||
let items = Object.values(this.apps)
|
||||
|
||||
items.sort((a, b) => {
|
||||
return a.order < b.order ? -1 : 1;
|
||||
})
|
||||
|
||||
return items
|
||||
},
|
||||
mainAppList() {
|
||||
return this.appList().slice(0, this.appLimit)
|
||||
|
||||
@@ -41,6 +41,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<ul class="side-menu-apps-list">
|
||||
<SideMenuApp
|
||||
v-for="(app, key) in apps"
|
||||
v-if="!hiddenApps.includes(app.id)"
|
||||
v-bind:classes="{'side-menu-app': true, 'active': app.active}"
|
||||
v-bind:key="key"
|
||||
v-bind:icon="app.icon"
|
||||
@@ -76,6 +77,7 @@ export default {
|
||||
avatar: null,
|
||||
forceLightIcon: false,
|
||||
targetBlankApps: [],
|
||||
hiddenApps: [],
|
||||
settings: null,
|
||||
}
|
||||
},
|
||||
@@ -127,6 +129,7 @@ export default {
|
||||
this.logo = config['logo']
|
||||
this.logoLink = config['logo-link']
|
||||
this.settings = config['settings']
|
||||
this.hiddenApps = config['big-menu-hidden-apps']
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
@@ -90,4 +90,4 @@
|
||||
"Applications kept in the top menu": "Aplikace ponechané v horní nabídce"
|
||||
"Applications kept in the top menu but also shown in side menu": "Aplikace ponechané v horní nabídce ale také zobrazené v té boční"
|
||||
"These applications must be selected in the previous option.": "Tyto aplikace je třeba vybrat v předchozí volbě."
|
||||
"Hide labels on mouse over": "Hide labels on mouse over"
|
||||
"Hide labels on mouse over": "Skrýt popisky při najetím ukazatele myši"
|
||||
|
||||
@@ -90,4 +90,4 @@
|
||||
"Applications kept in the top menu": "Aplicaciones guardadas en el menú superior"
|
||||
"Applications kept in the top menu but also shown in side menu": "Las aplicaciones se mantienen en el menú superior pero también se muestran en el menú lateral"
|
||||
"These applications must be selected in the previous option.": "Estas aplicaciones deben ser seleccionadas en las opciones anteriores."
|
||||
"Hide labels on mouse over": "Hide labels on mouse over"
|
||||
"Hide labels on mouse over": "Ocultar las etiquetas al pasar el ratón"
|
||||
|
||||
+21
-21
@@ -7,7 +7,7 @@
|
||||
: 'Используйте сочетание клавиш <span class="keyboard-key">Ctrl</span>+<span class="keyboard-key">o</span>, чтобы открыть или скрыть боковое меню. Используйте <span class="keyboard-key">Tab</span> для навигации.'
|
||||
"Top menu": "Верхнее меню"
|
||||
"Apps that not must be moved in the side menu": "Приложения не перемещаемые в боковое меню"
|
||||
"If there is no selection then the global configuration is applied.": "If there is no selection then the global configuration is applied."
|
||||
"If there is no selection then the global configuration is applied.": "Если тут ничего не отмечено, применяются глобальные настройки."
|
||||
"Experimental": "Экспериментальный"
|
||||
"Save": "Сохранить"
|
||||
"You like this app and you want to support me?": "Вам нравится приложение или вы хотите поддержать меня?"
|
||||
@@ -16,11 +16,11 @@
|
||||
"Small": "Маленький"
|
||||
"Normal": "Средний"
|
||||
"Big": "Большой"
|
||||
"Hidden icon": "Скрытая иконка"
|
||||
"Hidden icon": "Без иконки"
|
||||
"Small icon": "Маленькая иконка"
|
||||
"Normal icon": "Средняя иконка"
|
||||
"Big icon": "Большая иконка"
|
||||
"Hidden text": "Скрытый текст"
|
||||
"Hidden text": "Без текста"
|
||||
"Small text": "Маленький текст"
|
||||
"Normal text": "Средний текст"
|
||||
"Big text": "Большой текст"
|
||||
@@ -35,44 +35,44 @@
|
||||
"Transparent": "Прозрачный"
|
||||
"Opaque": "Непрозрачный"
|
||||
"Opener": "Открывалка"
|
||||
"Default": "По-умолчанию"
|
||||
"Default (dark)": "По-умолчанию (тёмный)"
|
||||
"Default": "По умолчанию"
|
||||
"Default (dark)": "По умолчанию (тёмный)"
|
||||
"Hamburger": "Гамбургер"
|
||||
"Hamburger (dark)": "Гамбургер (тёмный)"
|
||||
"Hamburger 2": "Гамбургер 2"
|
||||
"Hamburger 2 (dark)": "Гамбургер 2 (тёмный)"
|
||||
"Before the logo": "Перед логотипом"
|
||||
"After the logo": "После логотипа"
|
||||
"Position": "Позиция"
|
||||
"Position": "Положение"
|
||||
"Show only the opener (hidden logo)": "Показать только открывающую часть (скрытый логотип)"
|
||||
"Do not display the side menu and the opener if there is no application (eg: public pages).": "Не отображать боковое меню и открывалку, если нет приложения (например, публичные страницы)."
|
||||
"Panel": "Панеот"
|
||||
"Panel": "Панель"
|
||||
"Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Открывать меню при наведении мыши на экран (автоматически отключается на сенсорных экранах)"
|
||||
"Display the big menu": "Отобразить большое меню"
|
||||
"Display the logo": "Показать лого"
|
||||
"Display the logo": "Показать логотип"
|
||||
"Icons and texts": "Иконки и текст"
|
||||
"Loader enabled": "Loader enabled"
|
||||
"Loader enabled": "Загрузчик включен"
|
||||
"Tips": "Советы"
|
||||
"Always displayed": "Всегда отображается"
|
||||
"This is the automatic behavior when the menu is always displayed.": "This is the automatic behavior when the menu is always displayed."
|
||||
"Not compatible with touch screens.": "Не совместимо с сенсорными экранами"
|
||||
"Not compatible with touch screens.": "Не совместимо с сенсорными экранами."
|
||||
"Big menu": "Большое меню"
|
||||
"Live preview": "Live preview"
|
||||
"Open apps in new tab": "Открывать приложения в новой вкладке"
|
||||
"Use the global setting": "Use the global setting"
|
||||
"Use my selection": "Use my selection"
|
||||
"Use the global setting": "Использовать глобальные настройки"
|
||||
"Use my selection": "Использовать мои настройки"
|
||||
"Show and hide the list of applications": "Показать или скрыть список приложений"
|
||||
"Use the avatar instead of the logo": "Использовать аватар вместо логотипа"
|
||||
"You do not have permission to change the settings.": "У вас нет разрешения изменять настройки"
|
||||
"You do not have permission to change the settings.": "У вас нет разрешения изменять настройки."
|
||||
"Force this configuration to users": "Force this configuration to users"
|
||||
"Export the configuration": "Экспортировать конфигурацию"
|
||||
"Purge the cache": "Очистить кэш"
|
||||
"Show the link to settings": "Показать ссылку на настройки"
|
||||
"The menu is enabled by default for users": "The menu is enabled by default for users"
|
||||
"The menu is enabled by default for users": "Это меню включено по умолчанию для пользователей"
|
||||
"Except when the configuration is forced.": "Except when the configuration is forced."
|
||||
"Apps that should not be displayed in the menu": "Apps that should not be displayed in the menu"
|
||||
"Apps that should not be displayed in the menu": "Ппрограммы, скрытые из меню"
|
||||
"This feature is only compatible with the <code>big menu</code> display.": "This feature is only compatible with the <code>big menu</code> display."
|
||||
"The logo is a link to the default app": "The logo is a link to the default app"
|
||||
"The logo is a link to the default app": "Логотип открывает приложение по умолчанию"
|
||||
"Others": "Прочие"
|
||||
"Categories": "Категории"
|
||||
"Customize sorting": "Настроить сортировку"
|
||||
@@ -80,14 +80,14 @@
|
||||
"Name": "Название"
|
||||
"Customed": "Customed"
|
||||
"Show and hide the list of categories": "Показать или скрыть список категорий"
|
||||
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "This parameters are used when Dark theme or Breeze Dark Theme are enabled."
|
||||
"This parameters are used when Dark theme or Breeze Dark Theme are enabled.": "Эти настройки используются темами Тёмная и Тёмная Breeze."
|
||||
"Dark mode colors": "Цвета тёмной темы"
|
||||
"With categories": "С категориями"
|
||||
"Custom categories": "Custom categories"
|
||||
"Customize application categories": "Customize application categories"
|
||||
"Reset to default": "Сбросить к значениям по-умолчанию"
|
||||
"Custom categories": "Пользовательские категории"
|
||||
"Customize application categories": "Изменить категории приложений"
|
||||
"Reset to default": "Сбросить к значениям по умолчанию"
|
||||
"Applications": "Приложения"
|
||||
"Applications kept in the top menu": "Applications kept in the top menu"
|
||||
"Applications kept in the top menu but also shown in side menu": "Applications kept in the top menu but also shown in side menu"
|
||||
"These applications must be selected in the previous option.": "These applications must be selected in the previous option."
|
||||
"Hide labels on mouse over": "Hide labels on mouse over"
|
||||
"Hide labels on mouse over": "Скрыть название при наведении мыши"
|
||||
|
||||
+11
-5
@@ -73,6 +73,10 @@ if ($_['always-displayed']) {
|
||||
const headerMenuOpener = document.querySelector('#header .side-menu-opener')
|
||||
const sideMenuOpener = document.querySelectorAll('#side-menu .side-menu-opener')
|
||||
|
||||
if (!headerMenuOpener) {
|
||||
return
|
||||
}
|
||||
|
||||
sideMenuFocus = () => {
|
||||
let a = document.querySelector('.side-menu-app.active a', sideMenu)
|
||||
|
||||
@@ -174,9 +178,11 @@ if ($_['always-displayed']) {
|
||||
PageLoader()
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($_['opener-position'] === 'before'): ?>
|
||||
nextcloud.parentNode.insertBefore(sideMenuOpener, nextcloud)
|
||||
<?php else: ?>
|
||||
nextcloud.parentNode.insertBefore(sideMenuOpener, nextcloud.nextSibling)
|
||||
<?php endif; ?>
|
||||
if (nextcloud) {
|
||||
<?php if ($_['opener-position'] === 'before'): ?>
|
||||
nextcloud.parentNode.insertBefore(sideMenuOpener, nextcloud)
|
||||
<?php else: ?>
|
||||
nextcloud.parentNode.insertBefore(sideMenuOpener, nextcloud.nextSibling)
|
||||
<?php endif; ?>
|
||||
}
|
||||
})();
|
||||
|
||||
@@ -41,6 +41,7 @@ $choicesSizes = [
|
||||
|
||||
$labelShowHideApps = 'Show and hide the list of applications';
|
||||
$labelReset = 'Reset to default';
|
||||
$labelDefault = 'Default';
|
||||
$labelWithCategories = 'With categories';
|
||||
$labelBigMenu = 'Big menu';
|
||||
$labelAlwaysDisplayed = 'Always displayed';
|
||||
@@ -64,7 +65,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
|
||||
<div>
|
||||
<label>
|
||||
<?php p($l->t('Default')); ?>
|
||||
<?php p($l->t($labelDefault)); ?>
|
||||
</label>
|
||||
</div>
|
||||
<p>
|
||||
@@ -73,7 +74,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
data-alwaysdiplayed="0"
|
||||
data-bigmenu="0"
|
||||
data-sidewithcategories="0"
|
||||
src="<?php print_unescaped(image_path('side_menu', 'admin/layout-default.svg')); ?>" alt="<?php p($l->t('Default')); ?>">
|
||||
src="<?php print_unescaped(image_path('side_menu', 'admin/layout-default.svg')); ?>" alt="<?php p($l->t($labelDefault)); ?>">
|
||||
</p>
|
||||
|
||||
<div>
|
||||
@@ -150,7 +151,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
</h2>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
<span class="badge badge-2"><?php p($l->t($labelWithCategories)); ?></span>
|
||||
<span class="badge badge-3"><?php p($l->t($labelBigMenu)); ?></span>
|
||||
<span class="badge badge-4"><?php p($l->t($labelAlwaysDisplayed)); ?></span>
|
||||
@@ -312,7 +313,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
<div class="side-menu-setting-table">
|
||||
<?php
|
||||
$choices = [
|
||||
'Default' => 'side-menu-opener',
|
||||
$labelDefault => 'side-menu-opener',
|
||||
'Default (dark)' => 'side-menu-opener-dark',
|
||||
'Hamburger' => 'side-menu-opener-hamburger',
|
||||
'Hamburger (dark)' => 'side-menu-opener-hamburger-dark',
|
||||
@@ -341,7 +342,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
</h2>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
<span class="badge badge-2"><?php p($l->t($labelWithCategories)); ?></span>
|
||||
<span class="badge badge-3"><?php p($l->t($labelBigMenu)); ?></span>
|
||||
<span class="badge badge-4"><?php p($l->t($labelAlwaysDisplayed)); ?></span>
|
||||
@@ -505,7 +506,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
<div class="side-menu-setting-table">
|
||||
<?php
|
||||
$choices = [
|
||||
'Default' => 'side-menu-opener',
|
||||
$labelDefault => 'side-menu-opener',
|
||||
'Default (dark)' => 'side-menu-opener-dark',
|
||||
'Hamburger' => 'side-menu-opener-hamburger',
|
||||
'Hamburger (dark)' => 'side-menu-opener-hamburger-dark',
|
||||
@@ -536,7 +537,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
</h2>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
<span class="badge badge-2"><?php p($l->t($labelWithCategories)); ?></span>
|
||||
<span class="badge badge-3"><?php p($l->t($labelBigMenu)); ?></span>
|
||||
<span class="badge badge-4"><?php p($l->t($labelAlwaysDisplayed)); ?></span>
|
||||
@@ -621,7 +622,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
<?php p($l->t('Display the logo')); ?>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="side-menu-setting-form">
|
||||
@@ -640,7 +641,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
<?php p($l->t('Use the avatar instead of the logo')); ?>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="side-menu-setting-form">
|
||||
@@ -659,7 +660,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
<?php p($l->t('The logo is a link to the default app')); ?>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="side-menu-setting-form">
|
||||
@@ -678,8 +679,10 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
<?php p($l->t('Apps that should not be displayed in the menu')); ?>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
<span class="badge badge-2"><?php p($l->t($labelWithCategories)); ?></span>
|
||||
<span class="badge badge-3"><?php p($l->t($labelBigMenu)); ?></span>
|
||||
<span class="badge badge-4"><?php p($l->t($labelAlwaysDisplayed)); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="side-menu-setting-form">
|
||||
@@ -801,7 +804,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
</h2>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
<span class="badge badge-2"><?php p($l->t($labelWithCategories)); ?></span>
|
||||
<span class="badge badge-3"><?php p($l->t($labelBigMenu)); ?></span>
|
||||
<span class="badge badge-4"><?php p($l->t($labelAlwaysDisplayed)); ?></span>
|
||||
@@ -894,7 +897,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
</h2>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
<span class="badge badge-2"><?php p($l->t($labelWithCategories)); ?></span>
|
||||
<span class="badge badge-3"><?php p($l->t($labelBigMenu)); ?></span>
|
||||
<span class="badge badge-4"><?php p($l->t($labelAlwaysDisplayed)); ?></span>
|
||||
@@ -1056,7 +1059,7 @@ $labelAlwaysDisplayed = 'Always displayed';
|
||||
</h2>
|
||||
|
||||
<div class="badges">
|
||||
<span class="badge badge-1"><?php p($l->t('Default')); ?></span>
|
||||
<span class="badge badge-1"><?php p($l->t($labelDefault)); ?></span>
|
||||
<span class="badge badge-2"><?php p($l->t($labelWithCategories)); ?></span>
|
||||
<span class="badge badge-3"><?php p($l->t($labelBigMenu)); ?></span>
|
||||
<span class="badge badge-4"><?php p($l->t($labelAlwaysDisplayed)); ?></span>
|
||||
|
||||
Reference in New Issue
Block a user