From a8385f5f7ae1eec0fa85bd75ed08439b28ed700e Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Fri, 25 Mar 2022 13:15:45 +0100 Subject: [PATCH 1/1] display no_record in participation list --- resources/js/components/users/Participation.js | 3 +++ resources/js/i18n/de.js | 1 + resources/js/i18n/en.js | 1 + 3 files changed, 5 insertions(+) diff --git a/resources/js/components/users/Participation.js b/resources/js/components/users/Participation.js index b12adff..9b7228e 100644 --- a/resources/js/components/users/Participation.js +++ b/resources/js/components/users/Participation.js @@ -55,6 +55,9 @@ const Participation = ({ user }) => { {!p.tournament.locked && isRunner(p) ? * : null} + {p.tournament.no_record ? + † + : null} {p.roles ? p.roles.map((role, index) => diff --git a/resources/js/i18n/de.js b/resources/js/i18n/de.js index 5e97b4f..40af416 100644 --- a/resources/js/i18n/de.js +++ b/resources/js/i18n/de.js @@ -173,6 +173,7 @@ export default { }, tournaments: { admins: 'Organisation', + noRecord: 'Turnier wird nicht gewertet', scoreboard: 'Scoreboard', }, users: { diff --git a/resources/js/i18n/en.js b/resources/js/i18n/en.js index 76328bf..856aa56 100644 --- a/resources/js/i18n/en.js +++ b/resources/js/i18n/en.js @@ -173,6 +173,7 @@ export default { }, tournaments: { admins: 'Admins', + noRecord: 'Tournament set to not be recorded', scoreboard: 'Scoreboard', }, users: { -- 2.39.2