Merge pull request 'next release' (#200) from develop into master
Reviewed-on: #200
This commit is contained in:
commit
368c59a2bd
|
@ -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,11 @@
|
|||
## [Unreleased]
|
||||
|
||||
## 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)
|
||||
|
|
|
@ -32,7 +32,7 @@ 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.5.1</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
||||
<namespace>SideMenu</namespace>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue