]> git.localhorst.tv Git - alttp.git/commitdiff
display no_record in participation list
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 25 Mar 2022 12:15:45 +0000 (13:15 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 25 Mar 2022 12:15:45 +0000 (13:15 +0100)
resources/js/components/users/Participation.js
resources/js/i18n/de.js
resources/js/i18n/en.js

index b12adff897fdd964b6fd4af36bd487709031845e..9b7228e7f2a34f46024645f323af82641fdac4f7 100644 (file)
@@ -55,6 +55,9 @@ const Participation = ({ user }) => {
                        {!p.tournament.locked && isRunner(p) ?
                                <span title={i18n.t('participants.placementSubjectToChange')}> *</span>
                        : null}
+                       {p.tournament.no_record ?
+                               <span title={i18n.t('tournaments.noRecord')}> †</span>
+                       : null}
                        </td>
                        <td>
                                {p.roles ? p.roles.map((role, index) =>
index 5e97b4f7bafa2475b9abb6c34198cbe7d1f5b678..40af4165f47fe60f9cf813954066522582c9d65e 100644 (file)
@@ -173,6 +173,7 @@ export default {
                },
                tournaments: {
                        admins: 'Organisation',
+                       noRecord: 'Turnier wird nicht gewertet',
                        scoreboard: 'Scoreboard',
                },
                users: {
index 76328bf925933aed571b5b3ebc56e2de52a79cb3..856aa56089c12af36a789e90b8e2c960746f48db 100644 (file)
@@ -173,6 +173,7 @@ export default {
                },
                tournaments: {
                        admins: 'Admins',
+                       noRecord: 'Tournament set to not be recorded',
                        scoreboard: 'Scoreboard',
                },
                users: {