From bb372e65fa53ea4f2229188319d0ad814cbef656 Mon Sep 17 00:00:00 2001 From: viglino Date: Mon, 29 Apr 2024 17:20:27 +0200 Subject: [PATCH] [TYPO] orga to teams --- api/ListCarte.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/ListCarte.js b/api/ListCarte.js index 759a9ab..88291ad 100644 --- a/api/ListCarte.js +++ b/api/ListCarte.js @@ -11,7 +11,7 @@ import urls, { getMediaURL } from './serviceURL' import _T from '../i18n/i18n' import { getThemeID } from "../format/theme"; import UserInput from "./UserInput"; -import organization from "mcutils/api/team"; +import team from "mcutils/api/team"; /** Control to display a list of Cartes */ @@ -176,7 +176,7 @@ class ListCarte extends ListTable { // Add filters const filters = { - organization : 'Organisations', + organization : 'Equipes', type : 'Type', share: 'Partage', valid: 'Valide', @@ -310,7 +310,7 @@ ListCarte.prototype.drawItem = function(m, li) { html: m.organization_name, className: 'mc-organization', click: (e) => { - this.dispatchEvent({ type: 'select:organization', organization_name: m.organization_name, organization_id: m.organization_id, carte: m }); + this.dispatchEvent({ type: 'select:team', name: m.organization_name, id: m.organization_id, carte: m }); e.stopPropagation(); }, parent: title @@ -513,7 +513,7 @@ ListCarte.prototype.showPage = function(page) { } // Show in list ol_ext_element.create('SPAN', { - html: this.getStrAttributeValue(attr, filt[attr], as==='organizations' ? 'Hors organisation' : ''), + html: this.getStrAttributeValue(attr, filt[attr], as==='organizations' ? 'Hors équipe' : ''), parent: li }); // Filter