movil: barra de abajo marca la seccion abierta; llamada de voz sin video vacio

- la pestaña actual de la barra de abajo lleva la pastilla de color
- en una llamada solo de voz no se ensena el video propio (era un recuadro
  gris con el icono de play) y Llamar se atenua mientras dura
- la barra de confirmar borrado con su marco rojo
This commit is contained in:
SITO 2026-10-19 12:43:28 +02:00
parent c1f4ba75de
commit f29540e17e
3 changed files with 16 additions and 2 deletions

View file

@ -95,8 +95,12 @@ module.exports = ({ i18n }) => {
const inboxN = sharedState.getInboxCount();
const cfg = getConfig();
const modOn = (m) => !m || cfg.modules[m] === 'on' || cfg.modules[m] === undefined;
// la pestaña de la seccion abierta se marca (pastilla de color tras el icono)
let here = '';
try { here = (require('../models/typed_log').requestScope.getStore() || {}).path || ''; } catch (_) {}
const isHere = (href) => here === href || (href !== '/' && here.startsWith(href + '/')) || (href === '/activity' && here === '/');
const bbLink = (href, ico, label, badge) => a(
{ class: "bb-item", href },
{ class: isHere(href) ? "bb-item current" : "bb-item", href, ...(isHere(href) ? { 'aria-current': 'page' } : {}) },
iconNode("bb-ico", iconKeyOf(href), ico),
(badge && badge > 0) ? span({ class: "bb-badge" }, String(badge)) : "",
span({ class: "bb-lbl" }, label)