diff --git a/.eslintrc.json b/.eslintrc.json index ccd26984c..4c862c827 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -157,6 +157,7 @@ "Integrations": true, "HTTP": true, "AccountSettings": true, + "TableVisibilityModeSettings": true, "Announcements": true, "Swimlanes": true, "ChecklistItems": true, diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade index 019f3deba..73af28760 100644 --- a/client/components/boards/boardHeader.jade +++ b/client/components/boards/boardHeader.jade @@ -147,14 +147,15 @@ template(name="boardVisibilityList") if visibilityCheck i.fa.fa-check span.sub-name {{_ 'private-desc'}} - li - with "public" - a.js-select-visibility - i.fa.fa-globe.colorful - | {{_ 'public'}} - if visibilityCheck - i.fa.fa-check - span.sub-name {{_ 'public-desc'}} + if notAllowPrivateVisibilityOnly + li + with "public" + a.js-select-visibility + i.fa.fa-globe.colorful + | {{_ 'public'}} + if visibilityCheck + i.fa.fa-check + span.sub-name {{_ 'public-desc'}} template(name="boardChangeVisibilityPopup") +boardVisibilityList diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index 05415222f..c67c60f77 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -194,6 +194,11 @@ const CreateBoard = BlazeComponent.extendComponent({ this.visibilityMenuIsOpen = new ReactiveVar(false); this.visibility = new ReactiveVar('private'); this.boardId = new ReactiveVar(''); + Meteor.subscribe('tableVisibilityModeSettings'); + }, + + notAllowPrivateVisibilityOnly(){ + return !TableVisibilityModeSettings.findOne('tableVisibilityMode-allowPrivateOnly').booleanValue; }, visibilityCheck() { @@ -310,6 +315,9 @@ const CreateBoard = BlazeComponent.extendComponent({ }.register('headerBarCreateBoardPopup')); BlazeComponent.extendComponent({ + notAllowPrivateVisibilityOnly(){ + return !TableVisibilityModeSettings.findOne('tableVisibilityMode-allowPrivateOnly').booleanValue; + }, visibilityCheck() { const currentBoard = Boards.findOne(Session.get('currentBoard')); return this.currentData() === currentBoard.permission; diff --git a/client/components/settings/settingBody.jade b/client/components/settings/settingBody.jade index 76f8ae95c..06b835fa0 100644 --- a/client/components/settings/settingBody.jade +++ b/client/components/settings/settingBody.jade @@ -22,6 +22,10 @@ template(name="setting") a.js-setting-menu(data-id="account-setting") i.fa.fa-users | {{_ 'accounts'}} + li + a.js-setting-menu(data-id="tableVisibilityMode-setting") + i.fa.fa-eye + | {{_ 'tableVisibilityMode'}} li a.js-setting-menu(data-id="announcement-setting") i.fa.fa-bullhorn @@ -44,6 +48,8 @@ template(name="setting") +email else if accountSetting.get +accountSettings + else if tableVisibilityModeSetting.get + +tableVisibilityModeSettings else if announcementSetting.get +announcementSettings else if layoutSetting.get @@ -96,7 +102,7 @@ template(name='email') // li.smtp-form // .title {{_ 'smtp-username'}} // .form-group - // input.wekan-form-control#mail-server-username(type="text", placeholder="{{_ 'username'}}" value="{{currentSetting.mailServer.username}}") + // input.wekan-form-control#mail-server-u"accounts-allowUserNameChange": "Allow Username Change",sername(type="text", placeholder="{{_ 'username'}}" value="{{currentSetting.mailServer.username}}") // li.smtp-form // .title {{_ 'smtp-password'}} // .form-group @@ -120,6 +126,17 @@ template(name='email') li button.js-send-smtp-test-email.primary {{_ 'send-smtp-test'}} +template(name='tableVisibilityModeSettings') + ul#tableVisibilityMode-setting.setting-detail + li.tableVisibilityMode-form + .title {{_ 'tableVisibilityMode-allowPrivateOnly'}} + .form-group.flex + input.wekan-form-control#accounts-allowPrivateOnly(type="radio" name="allowPrivateOnly" value="true" checked="{{#if allowPrivateOnly}}checked{{/if}}") + span {{_ 'yes'}} + input.wekan-form-control#accounts-allowPrivateOnly(type="radio" name="allowPrivateOnly" value="false" checked="{{#unless allowPrivateOnly}}checked{{/unless}}") + span {{_ 'no'}} + button.js-tableVisibilityMode-save.primary {{_ 'save'}} + template(name='accountSettings') ul#account-setting.setting-detail li diff --git a/client/components/settings/settingBody.js b/client/components/settings/settingBody.js index e55e2db6b..b1c9d294d 100644 --- a/client/components/settings/settingBody.js +++ b/client/components/settings/settingBody.js @@ -7,6 +7,7 @@ BlazeComponent.extendComponent({ this.generalSetting = new ReactiveVar(true); this.emailSetting = new ReactiveVar(false); this.accountSetting = new ReactiveVar(false); + this.tableVisibilityModeSetting = new ReactiveVar(false); this.announcementSetting = new ReactiveVar(false); this.layoutSetting = new ReactiveVar(false); this.webhookSetting = new ReactiveVar(false); @@ -14,6 +15,7 @@ BlazeComponent.extendComponent({ Meteor.subscribe('setting'); Meteor.subscribe('mailServer'); Meteor.subscribe('accountSettings'); + Meteor.subscribe('tableVisibilityModeSettings'); Meteor.subscribe('announcements'); Meteor.subscribe('globalwebhooks'); }, @@ -88,6 +90,7 @@ BlazeComponent.extendComponent({ this.announcementSetting.set('announcement-setting' === targetID); this.layoutSetting.set('layout-setting' === targetID); this.webhookSetting.set('webhook-setting' === targetID); + this.tableVisibilityModeSetting.set('tableVisibilityMode-setting' === targetID); } }, @@ -317,6 +320,46 @@ BlazeComponent.extendComponent({ }, }).register('accountSettings'); +BlazeComponent.extendComponent({ + saveTableVisibilityChange() { + const allowPrivateOnly = + $('input[name=allowPrivateOnly]:checked').val() === 'true'; + TableVisibilityModeSettings.update('tableVisibilityMode-allowPrivateOnly', { + $set: { booleanValue: allowPrivateOnly }, + }); + }, + allowPrivateOnly() { + return TableVisibilityModeSettings.findOne('tableVisibilityMode-allowPrivateOnly').booleanValue; + }, + allHideSystemMessages() { + Meteor.call('setAllUsersHideSystemMessages', (err, ret) => { + if (!err && ret) { + if (ret === true) { + const message = `${TAPi18n.__( + 'now-system-messages-of-all-users-are-hidden', + )}`; + alert(message); + } + } else { + const reason = err.reason || ''; + const message = `${TAPi18n.__(err.error)}\n${reason}`; + alert(message); + } + }); + }, + + events() { + return [ + { + 'click button.js-tableVisibilityMode-save': this.saveTableVisibilityChange, + }, + { + 'click button.js-all-hide-system-messages': this.allHideSystemMessages, + }, + ]; + }, +}).register('tableVisibilityModeSettings'); + BlazeComponent.extendComponent({ onCreated() { this.loading = new ReactiveVar(false); diff --git a/i18n/ar-EG.i18n.json b/i18n/ar-EG.i18n.json index 93a00ce51..821df1d55 100644 --- a/i18n/ar-EG.i18n.json +++ b/i18n/ar-EG.i18n.json @@ -657,6 +657,8 @@ "accounts": "Accounts", "accounts-allowEmailChange": "Allow Email Change", "accounts-allowUserNameChange": "Allow Username Change", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "createdAt": "Created at", "modifiedAt": "Modified at", "verified": "Verified", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/ar.i18n.json b/i18n/ar.i18n.json index 007efcd07..3854d8a13 100644 --- a/i18n/ar.i18n.json +++ b/i18n/ar.i18n.json @@ -657,6 +657,8 @@ "accounts": "الحسابات", "accounts-allowEmailChange": "السماح بتغيير البريد الإلكتروني", "accounts-allowUserNameChange": "Allow Username Change", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "createdAt": "Created at", "modifiedAt": "Modified at", "verified": "Verified", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/bg.i18n.json b/i18n/bg.i18n.json index f87d55832..4330ec08a 100644 --- a/i18n/bg.i18n.json +++ b/i18n/bg.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/br.i18n.json b/i18n/br.i18n.json index c5308f236..49ecea87e 100644 --- a/i18n/br.i18n.json +++ b/i18n/br.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/ca.i18n.json b/i18n/ca.i18n.json index d00786a7d..5ad0ebf90 100644 --- a/i18n/ca.i18n.json +++ b/i18n/ca.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignat", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/cs.i18n.json b/i18n/cs.i18n.json index 2e7091415..b6b646b50 100644 --- a/i18n/cs.i18n.json +++ b/i18n/cs.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Jste si jisti, že chcete smazat tento tým? Tuto akci nelze vrátit zpět.", "delete-org-confirm-popup": "Jste si jisti, že chcete smazat tuto organizaci? Tuto akci nelze vrátit zpět.", "accounts-allowUserDelete": "Dovolit uživatelům smazat vlastní účet", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Skrýt text popisku minikarty", "show-desktop-drag-handles": "Zobrazit okraje pro přesun plochy", "assignee": "Řešitel", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimalizovat kartu", "delete-org-warning-message": "Tuto organizaci není možné smazat, protože do ní patří uživatel(é)", "delete-team-warning-message": "Tento tým není možné smazat, protože do nej patří uživatel(é)" -} \ No newline at end of file +} diff --git a/i18n/da.i18n.json b/i18n/da.i18n.json index 156c09fda..e4d8e4a12 100644 --- a/i18n/da.i18n.json +++ b/i18n/da.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Tillad brugere at slette deres egen konto", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Skjul etiketteteksten for minikort", "show-desktop-drag-handles": "Vis trække-håndtag for skrivebord", "assignee": "Tildelt til", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/de-CH.i18n.json b/i18n/de-CH.i18n.json index 8289aaf99..4143bedf8 100644 --- a/i18n/de-CH.i18n.json +++ b/i18n/de-CH.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Sind Sie sicher, dass Sie dieses Team löschen möchten? Es gibt kein Zurück!", "delete-org-confirm-popup": "Sind Sie sicher, dass Sie diese Organisation löschen möchten? Es gibt kein Zurück!", "accounts-allowUserDelete": "Erlaube Benutzern ihren eigenen Account zu löschen", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Labeltext auf Minikarte ausblenden", "show-desktop-drag-handles": "Desktop-Ziehpunkte anzeigen", "assignee": "Zugewiesen", @@ -1061,4 +1063,4 @@ "minimize-card": "Karte minimieren", "delete-org-warning-message": "Diese Organisation kann nicht gelöscht werden. Zumindest ein Benutzer ist ihr noch zugehörig.", "delete-team-warning-message": "Dieses Team kann nicht gelöscht werden. Zumindest ein Benutzer ist ihm noch zugehörig." -} \ No newline at end of file +} diff --git a/i18n/de.i18n.json b/i18n/de.i18n.json index ad5e690b4..087fc99eb 100644 --- a/i18n/de.i18n.json +++ b/i18n/de.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Sind Sie sicher, daß Sie dieses Team löschen wollen? Es gibt keine Möglichkeit, das rückgängig zu machen.", "delete-org-confirm-popup": "Sind Sie sicher, daß Sie diese Organisation löschen wollen? Es gibt keine Möglichkeit, das rückgängig zu machen.", "accounts-allowUserDelete": "Erlaube Benutzern ihren eigenen Account zu löschen", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Labeltext auf Minikarte ausblenden", "show-desktop-drag-handles": "Desktop-Ziehpunkte anzeigen", "assignee": "Zugewiesen", @@ -1061,4 +1063,4 @@ "minimize-card": "Karte minimieren", "delete-org-warning-message": "Diese Organisation kann nicht gelöscht werden, da wenigstens ein Nutzer dazu gehört.", "delete-team-warning-message": "Dieses Team kann nicht gelöscht werden, da wenigstens ein Nutzer dazu gehört." -} \ No newline at end of file +} diff --git a/i18n/el.i18n.json b/i18n/el.i18n.json index 1081703a8..74df38039 100644 --- a/i18n/el.i18n.json +++ b/i18n/el.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/en-GB.i18n.json b/i18n/en-GB.i18n.json index b20896e18..134db0e73 100644 --- a/i18n/en-GB.i18n.json +++ b/i18n/en-GB.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/en-IT.i18n.json b/i18n/en-IT.i18n.json index 93a00ce51..c58ce55ec 100644 --- a/i18n/en-IT.i18n.json +++ b/i18n/en-IT.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index a0253b96d..05a4799e5 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -657,6 +657,8 @@ "accounts": "Accounts", "accounts-allowEmailChange": "Allow Email Change", "accounts-allowUserNameChange": "Allow Username Change", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "createdAt": "Created at", "modifiedAt": "Modified at", "verified": "Verified", diff --git a/i18n/eo.i18n.json b/i18n/eo.i18n.json index 9c0b46695..c86f414ac 100644 --- a/i18n/eo.i18n.json +++ b/i18n/eo.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/es-AR.i18n.json b/i18n/es-AR.i18n.json index 3505a388e..ee2483b7f 100644 --- a/i18n/es-AR.i18n.json +++ b/i18n/es-AR.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/es-CL.i18n.json b/i18n/es-CL.i18n.json index cdb69d7c8..bbf5c2503 100644 --- a/i18n/es-CL.i18n.json +++ b/i18n/es-CL.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Permitir a los usuarios eliminar su cuenta", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Ocultar el texto de la etiqueta de la minitarjeta", "show-desktop-drag-handles": "Mostrar los controles de arrastre del escritorio", "assignee": "Asignado", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/es-LA.i18n.json b/i18n/es-LA.i18n.json index 93a00ce51..821df1d55 100644 --- a/i18n/es-LA.i18n.json +++ b/i18n/es-LA.i18n.json @@ -657,6 +657,8 @@ "accounts": "Accounts", "accounts-allowEmailChange": "Allow Email Change", "accounts-allowUserNameChange": "Allow Username Change", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "createdAt": "Created at", "modifiedAt": "Modified at", "verified": "Verified", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/es-MX.i18n.json b/i18n/es-MX.i18n.json index 09692e5ea..d4df2df85 100644 --- a/i18n/es-MX.i18n.json +++ b/i18n/es-MX.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/es-PE.i18n.json b/i18n/es-PE.i18n.json index 5f6fee283..41901832a 100644 --- a/i18n/es-PE.i18n.json +++ b/i18n/es-PE.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Permitir a los usuarios eliminar su cuenta", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Ocultar el texto de la etiqueta de la minitarjeta", "show-desktop-drag-handles": "Mostrar los controles de arrastre del escritorio", "assignee": "Asignado", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/es-PY.i18n.json b/i18n/es-PY.i18n.json index 93a00ce51..c58ce55ec 100644 --- a/i18n/es-PY.i18n.json +++ b/i18n/es-PY.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/es.i18n.json b/i18n/es.i18n.json index c9bff79c2..b0e9786dd 100644 --- a/i18n/es.i18n.json +++ b/i18n/es.i18n.json @@ -657,6 +657,8 @@ "accounts": "Cuentas", "accounts-allowEmailChange": "Permitir cambiar el correo electrónico", "accounts-allowUserNameChange": "Permitir cambiar el nombre de usuario", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "createdAt": "Fecha de alta", "modifiedAt": "Modified at", "verified": "Verificado", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/eu.i18n.json b/i18n/eu.i18n.json index 33f6ebc10..1a9f0da22 100644 --- a/i18n/eu.i18n.json +++ b/i18n/eu.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/fa-IR.i18n.json b/i18n/fa-IR.i18n.json index c0843f92d..cf0a54658 100644 --- a/i18n/fa-IR.i18n.json +++ b/i18n/fa-IR.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/fa.i18n.json b/i18n/fa.i18n.json index 81415af49..91f6fb5b0 100644 --- a/i18n/fa.i18n.json +++ b/i18n/fa.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "به کاربران اجازه دهید خودشان اکانتشان را حذف کنند", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "مخفی کردن اسم لیبل مینی کارت", "show-desktop-drag-handles": "نمایش دستگیره‌های درگ‌کردن دسکتاپ", "assignee": "محول شده", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/fi.i18n.json b/i18n/fi.i18n.json index a1d807ffb..68b33de67 100644 --- a/i18n/fi.i18n.json +++ b/i18n/fi.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Haluatko varmasti poistaa tämän tiimin? Tätä ei voi peruuttaa.", "delete-org-confirm-popup": "Haluatko varmasti poistaa tämän organisaation? Tätä ei voi peruuttaa.", "accounts-allowUserDelete": "Salli käyttäjien poistaa tilinsä itse", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Piilota minikortin nimilappu teksti", "show-desktop-drag-handles": "Näytä työpöydän vedon kahvat", "assignee": "Käsittelijä", @@ -1061,4 +1063,4 @@ "minimize-card": "Pienennä kortti", "delete-org-warning-message": "Ei voi poistaa tätä organisaatiota, ainakin yksi käyttäjä kuuluu siihen", "delete-team-warning-message": "Ei voi poistaa tätä tiimiä, ainakin yksi käyttäjä kuuluu siihen" -} \ No newline at end of file +} diff --git a/i18n/fr-CH.i18n.json b/i18n/fr-CH.i18n.json index 93a00ce51..c58ce55ec 100644 --- a/i18n/fr-CH.i18n.json +++ b/i18n/fr-CH.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/fr.i18n.json b/i18n/fr.i18n.json index 8a893ec5d..f6a89a246 100644 --- a/i18n/fr.i18n.json +++ b/i18n/fr.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Autoriser les utilisateurs à supprimer leur compte", "hide-minicard-label-text": "Cacher l'étiquette de la minicarte", "show-desktop-drag-handles": "Voir les poignées de déplacement du bureau", + "tableVisibilityMode-allowPrivateOnly": "[Mode de visibilité d'un tableau] Autoriser le mode privé uniquement", + "tableVisibilityMode" : "Mode de visibilité d'un tableau", "assignee": "Personne assignée", "cardAssigneesPopup-title": "Personne assignée", "addmore-detail": "Ajouter une description plus détaillée", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimiser la carte", "delete-org-warning-message": "Impossible de supprimer cette organisation, au moins un utilisateur lui appartient", "delete-team-warning-message": "Impossible de supprimer cette équipe, au moins un utilisateur lui appartient" -} \ No newline at end of file +} diff --git a/i18n/gl.i18n.json b/i18n/gl.i18n.json index 9a0bee0eb..abcdc4447 100644 --- a/i18n/gl.i18n.json +++ b/i18n/gl.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/he.i18n.json b/i18n/he.i18n.json index f3027c6bc..fd25fa741 100644 --- a/i18n/he.i18n.json +++ b/i18n/he.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "למחוק את הצוות הזה? אי אפשר לשחזר.", "delete-org-confirm-popup": "למחוק את הארגון הזה? אי אפשר לשחזר.", "accounts-allowUserDelete": "לאפשר למשתמשים למחוק את החשבונות של עצמם", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "הסתרת טקסט התווית של מיני כרטיס", "show-desktop-drag-handles": "הצגת ידיות גרירה של שולחן העבודה", "assignee": "גורם אחראי", @@ -1061,4 +1063,4 @@ "minimize-card": "מזעור כרטיס", "delete-org-warning-message": "לא ניתן למחוק את הארגון הזה, יש לפחות משתמש אחד ששייך אליו", "delete-team-warning-message": "לא ניתן למחוק את הצוות הזה, יש לפחות משתמש אחד ששייך אליו" -} \ No newline at end of file +} diff --git a/i18n/hi.i18n.json b/i18n/hi.i18n.json index 663f659e6..56ff15f15 100644 --- a/i18n/hi.i18n.json +++ b/i18n/hi.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/hr.i18n.json b/i18n/hr.i18n.json index 0bc5e4533..02a5ad5b1 100644 --- a/i18n/hr.i18n.json +++ b/i18n/hr.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/hu.i18n.json b/i18n/hu.i18n.json index 9f94ad24b..035f32072 100644 --- a/i18n/hu.i18n.json +++ b/i18n/hu.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Rejtse el a Címke szövegét a mini Kártyákon", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Felelős", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/hy.i18n.json b/i18n/hy.i18n.json index be4c0bd15..2281ed6ac 100644 --- a/i18n/hy.i18n.json +++ b/i18n/hy.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", "addmore-detail": "Add a more detailed description", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/id.i18n.json b/i18n/id.i18n.json index 9149fd4e2..cd1624299 100644 --- a/i18n/id.i18n.json +++ b/i18n/id.i18n.json @@ -859,6 +859,8 @@ "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Sembunyikan teks label kartu mini", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "show-desktop-drag-handles": "Tampilkan gagang seret desktop", "assignee": "Penerima tugas", "cardAssigneesPopup-title": "Penerima tugas", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/ig.i18n.json b/i18n/ig.i18n.json index e90afc69a..c6f56e133 100644 --- a/i18n/ig.i18n.json +++ b/i18n/ig.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", "addmore-detail": "Add a more detailed description", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/it.i18n.json b/i18n/it.i18n.json index 46c1198ae..746dc6ad7 100644 --- a/i18n/it.i18n.json +++ b/i18n/it.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Permetti agli utenti di cancellare il loro profilo", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Nascondi etichetta minicard", "show-desktop-drag-handles": "Mostra maniglie di trascinamento del desktop", "assignee": "Assegnatario", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/ja.i18n.json b/i18n/ja.i18n.json index c73b7fd5a..fd2ba9e8f 100644 --- a/i18n/ja.i18n.json +++ b/i18n/ja.i18n.json @@ -859,6 +859,8 @@ "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "ユーザー自身のアカウント削除を許可", "hide-minicard-label-text": "ミニカードのラベル名を隠す", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "show-desktop-drag-handles": "デスクトップへのドラッグハンドルを表示", "assignee": "担当者", "cardAssigneesPopup-title": "担当者", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/ka.i18n.json b/i18n/ka.i18n.json index d062142cf..1a18775e2 100644 --- a/i18n/ka.i18n.json +++ b/i18n/ka.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/km.i18n.json b/i18n/km.i18n.json index 9dfc67aa9..eba9ec094 100644 --- a/i18n/km.i18n.json +++ b/i18n/km.i18n.json @@ -656,6 +656,8 @@ "no": "No", "accounts": "Accounts", "accounts-allowEmailChange": "Allow Email Change", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "accounts-allowUserNameChange": "Allow Username Change", "createdAt": "Created at", "modifiedAt": "Modified at", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/ko.i18n.json b/i18n/ko.i18n.json index 616051e4b..f54305af6 100644 --- a/i18n/ko.i18n.json +++ b/i18n/ko.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/lt.i18n.json b/i18n/lt.i18n.json index 93a00ce51..c58ce55ec 100644 --- a/i18n/lt.i18n.json +++ b/i18n/lt.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/lv.i18n.json b/i18n/lv.i18n.json index d3fd85c10..8f94abdd8 100644 --- a/i18n/lv.i18n.json +++ b/i18n/lv.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Ļaut lietotājiem dzēst savus kontus", "hide-minicard-label-text": "Slēpt birku tekstu mini kartiņā", "show-desktop-drag-handles": "Rādīt darba virsmas vilkšanas simbolus", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Īpašnieks", "cardAssigneesPopup-title": "Īpašnieks", "addmore-detail": "Pievienot detalizētāku aprakstu", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/mk.i18n.json b/i18n/mk.i18n.json index 23a8bc276..ad98789f5 100644 --- a/i18n/mk.i18n.json +++ b/i18n/mk.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", "addmore-detail": "Add a more detailed description", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/mn.i18n.json b/i18n/mn.i18n.json index 88bdcda97..8db4d665e 100644 --- a/i18n/mn.i18n.json +++ b/i18n/mn.i18n.json @@ -657,6 +657,8 @@ "accounts": "Accounts", "accounts-allowEmailChange": "Allow Email Change", "accounts-allowUserNameChange": "Allow Username Change", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "createdAt": "Created at", "modifiedAt": "Modified at", "verified": "Verified", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/nb.i18n.json b/i18n/nb.i18n.json index fd6cc61c6..bc0ad00c8 100644 --- a/i18n/nb.i18n.json +++ b/i18n/nb.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Er du sikker på at du vil slette Teamet? Du kan ikke angre.", "delete-org-confirm-popup": "Er du sikker på at du vil slette denne Organisasjonen? Du kan ikke angre.", "accounts-allowUserDelete": "Tillat brukere å slette egen konto", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Skjul tekst på etikett", "show-desktop-drag-handles": "Vis ikon for flytting av kort", "assignee": "Tildelt", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimer Kort", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/nl.i18n.json b/i18n/nl.i18n.json index 4ef035df5..5703784c2 100644 --- a/i18n/nl.i18n.json +++ b/i18n/nl.i18n.json @@ -657,6 +657,8 @@ "accounts": "Accounts", "accounts-allowEmailChange": "Sta E-mailadres wijzigingen toe", "accounts-allowUserNameChange": "Sta Gebruikersnaam wijzigingen toe", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "createdAt": "Aangemaakt op", "modifiedAt": "Gewijzigd op", "verified": "Geverifieerd", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimaliseer Kaart", "delete-org-warning-message": "Kan deze organisatie niet verwijderen want er is nog minimaal 1 gebruiker lid van.", "delete-team-warning-message": "Kan dit team niet verwijderen want er is nog minimaal 1 gebruiker lid van." -} \ No newline at end of file +} diff --git a/i18n/oc.i18n.json b/i18n/oc.i18n.json index d9edc6789..d1e3097ca 100644 --- a/i18n/oc.i18n.json +++ b/i18n/oc.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/pa.i18n.json b/i18n/pa.i18n.json index 93a00ce51..c58ce55ec 100644 --- a/i18n/pa.i18n.json +++ b/i18n/pa.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/pl.i18n.json b/i18n/pl.i18n.json index 2b10f72a6..c966db88c 100644 --- a/i18n/pl.i18n.json +++ b/i18n/pl.i18n.json @@ -861,6 +861,8 @@ "hide-minicard-label-text": "Ukryj opisy etykiet minikart", "show-desktop-drag-handles": "Pokaż przeciągnięcia na pulpit", "assignee": "Przypisani", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "cardAssigneesPopup-title": "Przypisani", "addmore-detail": "Dodaj bardziej szczegółowy opis", "show-on-card": "Pokaż na karcie", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/pt-BR.i18n.json b/i18n/pt-BR.i18n.json index 6736b439d..7c75833bf 100644 --- a/i18n/pt-BR.i18n.json +++ b/i18n/pt-BR.i18n.json @@ -863,6 +863,8 @@ "assignee": "Administrador", "cardAssigneesPopup-title": "Administrador", "addmore-detail": "Adicionar descrição detalhada", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "show-on-card": "Mostrar no Cartão", "new": "Novo", "editOrgPopup-title": "Editar Organização", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimizar Cartão", "delete-org-warning-message": "Não é possível excluir esta organização. Existe pelo menos um usuário que pertence a ela.", "delete-team-warning-message": "Não é possível excluir este time. Existe pelo menos um usuário que pertence a ele." -} \ No newline at end of file +} diff --git a/i18n/pt.i18n.json b/i18n/pt.i18n.json index 46b901bd5..a7e7bdab3 100644 --- a/i18n/pt.i18n.json +++ b/i18n/pt.i18n.json @@ -657,6 +657,8 @@ "accounts": "Contas", "accounts-allowEmailChange": "Permitir Alteração do E-mail", "accounts-allowUserNameChange": "Permitir Alteração de Nome de Utilizador", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "createdAt": "Criado em", "modifiedAt": "Modificado em", "verified": "Verificado", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimizar Cartão", "delete-org-warning-message": "Não pode apagar esta organização, tem no mínimo um utilizador associado", "delete-team-warning-message": "Não pode apagar esta equipa, tem no mínimo um utilizador associado" -} \ No newline at end of file +} diff --git a/i18n/ro.i18n.json b/i18n/ro.i18n.json index 1b466d36e..f528ce4b6 100644 --- a/i18n/ro.i18n.json +++ b/i18n/ro.i18n.json @@ -859,6 +859,8 @@ "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Hide minicard label text", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/ru.i18n.json b/i18n/ru.i18n.json index aa35ca8ad..c4dc46820 100644 --- a/i18n/ru.i18n.json +++ b/i18n/ru.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Вы уверены, что хотите удалить эту команду? Эту операцию нельзя отменить.", "delete-org-confirm-popup": "Вы уверены, что хотите удалить эту организацию? Эту операцию нельзя отменить.", "accounts-allowUserDelete": "Разрешить пользователям удалять собственные аккаунты", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Скрыть текст меток на карточках", "show-desktop-drag-handles": "Показать ярлыки для перетаскивания", "assignee": "Исполнитель", @@ -1061,4 +1063,4 @@ "minimize-card": "Минимизировать карточку", "delete-org-warning-message": "Невозможно удалить эту организацию, она включает в себя как минимум одного пользователя", "delete-team-warning-message": "Невозможно удалить эту команду, она включает в себя как минимум одного пользователя" -} \ No newline at end of file +} diff --git a/i18n/sk.i18n.json b/i18n/sk.i18n.json index c99f773bd..6783d64f1 100644 --- a/i18n/sk.i18n.json +++ b/i18n/sk.i18n.json @@ -859,6 +859,8 @@ "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Hide minicard label text", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "show-desktop-drag-handles": "Show desktop drag handles", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimalizovať kartu", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/sl.i18n.json b/i18n/sl.i18n.json index 0400f14a6..4de407310 100644 --- a/i18n/sl.i18n.json +++ b/i18n/sl.i18n.json @@ -859,6 +859,8 @@ "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Dovoli uporabnikom, da sami izbrišejo svoj račun", "hide-minicard-label-text": "Skrij besedilo oznak na karticah", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "show-desktop-drag-handles": "Pokaži ročke za povleko na namizju", "assignee": "Dodeljen član", "cardAssigneesPopup-title": "Dodeljen član", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/sr.i18n.json b/i18n/sr.i18n.json index 8e7379638..432f9b796 100644 --- a/i18n/sr.i18n.json +++ b/i18n/sr.i18n.json @@ -859,6 +859,8 @@ "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Dozvoli korisnicima da sami brišu svoj nalog", "hide-minicard-label-text": "Sakrij tekst nalepnice minikartice", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "show-desktop-drag-handles": "Prikaži kvake za povlačenje sa radne površine", "assignee": "Zastupnik", "cardAssigneesPopup-title": "Zastupnik", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/sv.i18n.json b/i18n/sv.i18n.json index 87e87956b..f2f343072 100644 --- a/i18n/sv.i18n.json +++ b/i18n/sv.i18n.json @@ -858,6 +858,8 @@ "delete-team-confirm-popup": "Are you sure you want to delete this team? There is no undo.", "delete-org-confirm-popup": "Are you sure you want to delete this organization? There is no undo.", "accounts-allowUserDelete": "Tillåt användare att själv ta bort sina konton", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "hide-minicard-label-text": "Dölj etikett för minikort", "show-desktop-drag-handles": "Visa greppytor i desktop", "assignee": "Tilldelad till", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/sw.i18n.json b/i18n/sw.i18n.json index 57d3297ed..11f8388d2 100644 --- a/i18n/sw.i18n.json +++ b/i18n/sw.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", "addmore-detail": "Add a more detailed description", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/ta.i18n.json b/i18n/ta.i18n.json index 55d4339dc..0819af24d 100644 --- a/i18n/ta.i18n.json +++ b/i18n/ta.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", "addmore-detail": "Add a more detailed description", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/th.i18n.json b/i18n/th.i18n.json index f1a7599c0..13762f8e9 100644 --- a/i18n/th.i18n.json +++ b/i18n/th.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Allow users to self delete their account", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", "addmore-detail": "Add a more detailed description", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/tr.i18n.json b/i18n/tr.i18n.json index f9a9f9427..4ef4473fc 100644 --- a/i18n/tr.i18n.json +++ b/i18n/tr.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Kullanıcılara hesaplarını silmek için izin ver.", "hide-minicard-label-text": "Mini kart etiklerini gizle", "show-desktop-drag-handles": "Masaüstü sürükleme tutamaçlarını göster", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Atanan", "cardAssigneesPopup-title": "Atanan", "addmore-detail": "Daha ayrıntılı bir açıklama ekle", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/uk.i18n.json b/i18n/uk.i18n.json index a33f98f1c..efe618ba8 100644 --- a/i18n/uk.i18n.json +++ b/i18n/uk.i18n.json @@ -860,6 +860,8 @@ "accounts-allowUserDelete": "Дозволити користувачам видаляти їх власні облікові записи", "hide-minicard-label-text": "Hide minicard label text", "show-desktop-drag-handles": "Show desktop drag handles", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "assignee": "Assignee", "cardAssigneesPopup-title": "Assignee", "addmore-detail": "Add a more detailed description", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/vi.i18n.json b/i18n/vi.i18n.json index be31b0851..be1d5c495 100644 --- a/i18n/vi.i18n.json +++ b/i18n/vi.i18n.json @@ -862,6 +862,8 @@ "show-desktop-drag-handles": "Hiển thị nút kéo thả trên Desktop", "assignee": "Người được giao", "cardAssigneesPopup-title": "Người được giao", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "addmore-detail": "Thêm mô tả chi tiết hơn", "show-on-card": "Hiển thị trên thẻ", "new": "Mới", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/zh-CN.i18n.json b/i18n/zh-CN.i18n.json index 7eaffb68a..590faa85a 100644 --- a/i18n/zh-CN.i18n.json +++ b/i18n/zh-CN.i18n.json @@ -863,6 +863,8 @@ "assignee": "被指派人", "cardAssigneesPopup-title": "被指派人", "addmore-detail": "添加更详细的说明", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "show-on-card": "显示卡片", "new": "新", "editOrgPopup-title": "编辑组织", @@ -1061,4 +1063,4 @@ "minimize-card": "最小化卡片", "delete-org-warning-message": "无法删除该组织,至少还有一个用户属于该组织。", "delete-team-warning-message": "无法删除该团队,至少还有一个用户属于该团队。" -} \ No newline at end of file +} diff --git a/i18n/zh-HK.i18n.json b/i18n/zh-HK.i18n.json index 7befe1a31..27044b8ae 100644 --- a/i18n/zh-HK.i18n.json +++ b/i18n/zh-HK.i18n.json @@ -865,6 +865,8 @@ "addmore-detail": "Add a more detailed description", "show-on-card": "Show on Card", "new": "New", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "editOrgPopup-title": "Edit Organization", "newOrgPopup-title": "New Organization", "editTeamPopup-title": "Edit Team", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/i18n/zh-TW.i18n.json b/i18n/zh-TW.i18n.json index d2e92c924..94efdfafa 100644 --- a/i18n/zh-TW.i18n.json +++ b/i18n/zh-TW.i18n.json @@ -869,6 +869,8 @@ "newOrgPopup-title": "新建組織", "editTeamPopup-title": "編輯團隊", "newTeamPopup-title": "新建團隊", + "tableVisibilityMode-allowPrivateOnly": "[Board visibility Mode] Allow private mode only", + "tableVisibilityMode" : "Board visibility mode", "editUserPopup-title": "編輯使用者", "newUserPopup-title": "新增使用者", "notifications": "通知", @@ -1061,4 +1063,4 @@ "minimize-card": "Minimize Card", "delete-org-warning-message": "Can not delete this organization, there is at least one user that belongs to it", "delete-team-warning-message": "Can not delete this team, there is at least one user that belongs to it" -} \ No newline at end of file +} diff --git a/models/tableVisibilityModeSettings.js b/models/tableVisibilityModeSettings.js new file mode 100644 index 000000000..c438137aa --- /dev/null +++ b/models/tableVisibilityModeSettings.js @@ -0,0 +1,73 @@ +TableVisibilityModeSettings = new Mongo.Collection('tableVisibilityModeSettings'); + +TableVisibilityModeSettings.attachSchema( + new SimpleSchema({ + _id: { + type: String, + }, + booleanValue: { + type: Boolean, + optional: true, + }, + sort: { + type: Number, + decimal: true, + }, + createdAt: { + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +TableVisibilityModeSettings.allow({ + update(userId) { + const user = Users.findOne(userId); + return user && user.isAdmin; + }, +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + TableVisibilityModeSettings._collection._ensureIndex({ modifiedAt: -1 }); + TableVisibilityModeSettings.upsert( + { _id: 'tableVisibilityMode-allowPrivateOnly' }, + { + $setOnInsert: { + booleanValue: false, + sort: 0, + }, + }, + ); + }); +} + +TableVisibilityModeSettings.helpers({ + allowPrivateOnly() { + return TableVisibilityModeSettings.findOne('tableVisibilityMode-allowPrivateOnly').booleanValue; + }, +}); + +export default TableVisibilityModeSettings; diff --git a/server/migrations.js b/server/migrations.js index d50fb7919..7d2badf8c 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -1,4 +1,5 @@ import AccountSettings from '../models/accountSettings'; +import TableVisibilityModeSettings from '../models/tableVisibilityModeSettings'; import Actions from '../models/actions'; import Activities from '../models/activities'; import Announcements from '../models/announcements'; @@ -645,6 +646,7 @@ Migrations.add('mutate-boardIds-in-customfields', () => { const modifiedAtTables = [ AccountSettings, + TableVisibilityModeSettings, Actions, Activities, Announcements, @@ -699,6 +701,7 @@ Migrations.add('add-missing-created-and-modified', () => { Migrations.add('fix-incorrect-dates', () => { const tables = [ AccountSettings, + TableVisibilityModeSettings, Actions, Activities, Announcements, diff --git a/server/publications/tableVisibilityModeSettings.js b/server/publications/tableVisibilityModeSettings.js new file mode 100644 index 000000000..0fa7dc401 --- /dev/null +++ b/server/publications/tableVisibilityModeSettings.js @@ -0,0 +1,3 @@ +Meteor.publish('tableVisibilityModeSettings', function() { + return TableVisibilityModeSettings.find(); +});