fansunited-widget-top-x
v2.3.1
Published
Welcome to Fans United Top X Management Widget. The widget allows staff members with sufficient permissions to create new games/editions. You can use this widget as it is and embed it in your platform, or you can use the Management Panel to create games.
Downloads
541
Readme
Top X Management Widget
Welcome to Fans United Top X Management Widget. The widget allows staff members with sufficient permissions to create new games/editions. You can use this widget as it is and embed it in your platform, or you can use the Management Panel to create games. Top X is a game where users must predict a specified number of correct scores for a prize. With successful installation, you can create and edit a Top X game or see the report about specific game.
Installation and usage
The easiest way to use fansunited-widget-top-x-management is to install it from npm as follows:
npm install fansunited-widget-top-x
or:
yarn add fansunited-widget-top-x
Here is an example how you can integrate Fans United Top X Management Widget:
import 'fansunited-widget-top-x/style.css';
import { TopXManager } from 'fansunited-widget-top-x';
const App = () => {
return (
<TopXManager
fansUnitedApiKey={'your-api-key'}
fansUnitedClientId={'your-client-id'} />
);
}
Notes
The widget is bundled as a React component and its usage is as simple as the above example
Don't worry about your project's CSS. The widget's styling is done with Joy UI which is based on headless unstyle react components. This means that the widget's CSS will NOT affect yours. One important thing is that you need to import
style.css
file from package folder:
import 'fansunited-widget-top-x/style.css';
N.B: If you are using an entry point for importing all your stylings, you need to import fansunited-widget-top-x/style.css
there as well
- Easy translation in every language. For more information check our Translation heading.
Props
type TopXManagerProps = {
fansUnitedApiKey: string;
fansUnitedClientId: string;
fansUnitedLanguage?: string;
fansUnitedEnvironment?: string;
sportal365Project?: string;
sportal365Infrastructure?: 'shared' | 'betway';
labels?: LabelsModel;
hideSignOutButton?: boolean;
};
Fans United Top X Management Widget depends on Fans United JS SDK and Fans United Client API. Thats why fansUnitedApiKey
and fansUnitedClientId
are required. They will be provided to you from Fans United team. For other optional props here is some information:
fansUnitedLanguage
- for our sports APIs FansUnited platform supports different languages. For now they are Bulgarian (bg), English (en), Romanian (ro), Greek (el), Slovak (sk), Serbian (sr) and Hungarian (hu). If no value given it will be set to English (en).fansUnitedEnvironment
- You can run the widget in the following environments: staging, production and watg. If no value given it will be set to production (prod).labels
- you can easily translate all labels, UI messages, descriptions, placeholders and etc. with this prop. By default, Fans United Match Quiz Management Widget is available in English so if no value is given, the widget will be translated in English.sportal365Project
- The Sportal365 project. Used as a request header when communicating with Sportal365 APIs.sportal365Infrastructure
- The Sportal365 infrastructure. Used to determine what authorization should be used when communicating with Sportal365 APIs. If no value given (when sportal365Project props is provided) it will be set to shared .hideSignOutButton
- The prop is used to hide the sign out button which is positioned on the top right corner on the main screen of the widget.
Translation
You can easily translate Fans United Top X Management Widget in your language! You just need to pass an object to labels
prop with concrete keys and values and that's it! Here's an example how you can do it:
import 'fansunited-widget-top-x/style.css';
import { TopXManager } from 'fansunited-widget-top-x';
const labels = {
userNotFound: 'User not found. Please try again.',
clientFeaturesNotFoundMessage: "There was a problem fetching client's configuration. Please check again your API key and client ID. For more information contact Fans United staff.",
featureDisabled: 'Feature disabled!',
noPermissionMessage: 'You have no permission for this feature!',
tryAgainButton: 'Try again',
noGamesFound: "No games were found. You can create a game by clicking the button 'Create'",
create: 'Create',
signOut: 'Sign out',
manageWinners: 'Manage winners for Top X game with name',
name: 'Name',
status: 'Status',
participants: 'Participants',
creationDate: 'Created at',
acceptUntil: 'Accept Until',
actions: 'Actions',
pending: 'Pending',
settled: 'Settled',
live: 'Live',
open: 'Open',
canceled: 'Canceled',
closed: 'Closed',
predictions: 'Predictions',
showDetails: 'Show details',
noStandingsAvailable: 'No standings available',
close: 'Close',
predictionBy: 'Prediction by',
noMatchesAvailable: 'No matches available',
matches: 'Matches',
market: 'Market',
prediction: 'Prediction',
dates: 'Dates',
createdAt: 'Created at',
updatedAt: 'Updated at',
noPredictionAvailable: 'No prediction available',
void: 'Void',
branding: 'Branding',
configuration: 'Configuration',
match: 'Match',
outcome: 'Outcome',
settledAt: 'Settled at',
resettledAt: 'Resettled at',
filters: 'Filters',
fromDate: 'From date',
toDate: 'To date',
nicknameAndName: 'Nickname & Name',
edit: 'Edit',
standings: 'Standings',
timeFormat: 'DD.MM.YYYY, HH:mm',
previous: 'Previous',
next: 'Next',
id: 'ID',
title: 'Title',
description: 'Description',
matchSelection: 'Match selection',
matchSelectionDescription: 'Select a number of matches to include in your game.',
gameMarket: 'Game market',
gameMarketDescription: 'Determine how your game is being scored by choosing your market. Keep in mind that you can edit the market option only the game is in PENDING status.',
marketCorrectScore: 'Correct score',
marketCorrectScoreAdvanced: 'Advanced correct score',
timeTiebreaker: 'Time tiebreaker',
timeTiebreakerDescription: "When enabled the game's leaderboard will have a classic user ranking (1,2,3). In case of same points and same golden goal, the user who placed their predictions earlier will be in front. When disabled the current game's leaderboard behavior is used - the golden goal tiebreaker is used and when 2 or more people have the same golden goal, the ranking will be 1,1,3,4,5,5,7,8.",
rules: 'Rules',
adContent: 'Ad content',
adContentPlaceholder: 'Paste HTML here...',
flags: 'Flags',
flagsPlaceholder: 'Type your flag and hit enter',
repeatedValueMessage: 'You have entered a repeated value. Please enter a different one.',
related: 'Related',
games: 'Games',
templates: 'Templates',
labelsHeading: 'Labels',
customFields: 'Custom fields',
keyDynamicFields: 'Key',
valueDynamicFields: 'Value',
add: 'Add',
cutoffTime: 'Cutoff time',
cutoffTimeDescriptionOnCreate: 'Predictions will be accepted until this time. If not provided it will be automatically generated 15 minutes from the first match played.',
cutoffTimeDescriptionOnEdit: 'Predictions will be accepted until this time. Keep in mind that this field SHOULD NOT be empty.',
removeMatch: 'Remove match',
back: 'Back',
loadMore: 'Load more',
exportButton: 'Export',
position: 'Position',
points: 'Points',
winnersDescription: 'Describe the winners...',
note: 'Note',
tags: 'Tags',
tagsPlaceholder: 'Provide tags for the winner...',
save: 'Save',
preview: 'Preview',
clearWinner: 'Clear winner',
csvModalTitle: 'Enter how many users should be exported',
csvModalDescription: '',
csvModalPlaceholder: 'Export the first X users...',
csvModalDownloadButton: 'Download as CSV file',
csvModalValidationMessage: 'Input value has to be an integer number between 1 and 100',
csvModalErrorMessage: "There was a problem with fetching game's report data",
clear: 'Clear',
fixtures: 'Fixtures',
orderByPlaceholder: 'Order by',
kickoffAscending: 'Kick-off Ascending',
kickoffDescending: 'Kick-off Descending',
minimumFixturesAre: 'The minimum fixtures are',
maximumFixturesAre: 'The maximum fixtures are',
searchMatches: 'Search matches',
matchAddedToFixturesMessage: "added to 'Fixtures'",
matchRemovedFromFixturesMessage: "removed from 'Fixtures'",
schedule: 'Schedule',
createScheduledTaskMessage: 'You have successfully created scheduled task',
createScheduledTaskErrorMessage: 'An error occurred while creating scheduled task. Please try again later',
updateScheduledTaskMessage: 'You have successfully updated scheduled task',
updateScheduledTaskErrorMessage: 'An error occurred while updating scheduled task. Please try again later',
deleteScheduledTaskMessage: 'You have successfully deleted scheduled task',
deleteScheduledTaskErrorMessage: 'An error occurred while deleting scheduled task. Please try again later',
useLegacyScheduleOpenAt: 'Use legacy schedule open at',
useLegacyScheduleOpenAtDescription: 'This functionality will be deprecated on the 1st of April 2025. Please use the new scheduler functionality above.',
scheduleOpenAt: 'Schedule open at',
changeStatusTo: 'Change status to:',
at: 'At:',
deleteScheduledTaskModalTitle: 'Delete scheduled task',
deleteScheduledTaskModalParagraph: 'Are you sure you want to delete the following scheduled task: ',
scheduledTaskNotAvailable: 'To configure scheduled tasks you need to edit your game',
competitionsSelectionPlaceholder: 'Search for competitions by their name',
teamsSelectionPlaceholder: 'Search for teams by their name',
colors: 'Colors',
primaryColor: 'Primary color',
secondaryColor: 'Secondary color',
contentColor: 'Content color',
backgroundColor: 'Background color',
borderColor: 'Border color',
additionalColor: 'Additional color',
urls: 'URLs',
primaryUrl: 'Primary URL',
secondaryUrl: 'Secondary URL',
privacyPolicyUrl: 'Privacy policy URL',
termsAndConditionsUrl: 'Terms and conditions URL',
additionalUrl: 'Additional URL',
mainLogo: 'Main Logo',
mobileLogo: 'Mobile logo',
backgroundImage: 'Background image',
mobileBackgroundImage: 'Mobile background image',
additionalImage: 'Additional image',
hideMoreImages: 'Hide more images',
showMoreImages: 'Show more images',
images: 'Images',
mainImage: 'Main',
coverImage: 'Cover',
mobileImage: 'Mobile',
uploadImage: 'Upload Image',
sportal365Images: 'Sportal365 Images',
search: 'Search',
searchImage: 'Search image',
hideFilters: 'Hide filters',
showFilters: 'Show filters',
manageGameTitle: 'Manage Top X Game',
manageGameDescription: 'Using this form, you can manage Top X games. Choose the most interesting individual matches, set scoring rules, scheduling, customize branding options, and much more.',
delete: 'Delete',
excludedProfiles: 'Excluded profiles',
excludedProfilesPlaceholder: 'Search for a profile by their name or nickname',
searchProfilesErrorMessage: 'There was a problem searching for profiles',
clearImage: 'Clear image',
copyUrl: 'Copy URL',
viewImage: 'View image',
cropImage: 'Crop image',
aspectRatio: 'Aspect ratio',
crop: 'Crop',
reset: 'Reset',
notVerified: 'Not verified',
correct: 'Correct',
partiallyCorrect: 'Partially correct',
incorrect: 'Incorrect',
correctNumberOfFixtures: 'You have set the correct number of fixtures',
sortOrder: 'Sort order',
ascending: 'Ascending',
descending: 'Descending',
pageNo: 'Page No',
manageWinnersActionLabel: 'Manage winners',
stats: 'Stats',
configureWinners: 'Configure Winners',
additionalInformation: 'Additional information',
exportAllUsers: "Export all users",
usersExportMessage: "All users have been exported successfully",
usersExportErrorMessage: "There was a problem with exporting users. Please try again"
createGameMessage: 'You have successfully created a game.',
editGameMessage: 'You have successfully edited a game.',
minFixturesMessage: 'There is a requirement how many minimum fixtures you need to provide for the game and it is:',
maxFixturesMessage: 'There is a requirement how many maximum fixtures you can provide for the game and it is:',
createGameErrorMessage: 'There was a problem with creating the game. Please try again.',
editGameErrorMessage: 'There was a problem with editing the game. Please try again.',
leaderboardErrorMessage: 'There was a problem with displaying leaderboard. Please try again.',
positionAndWinnerRequiredMessage: 'Position and winner are required!',
sameChosenWinnerMessage: 'You have selected same winners. Each winner has to be unique!',
winnersErrorMessage: 'There was a problem with fetching information about game winners. Please try again.',
createWinnersMessage: 'You have successfully created winners for the game.',
createWinnersErrorMessage: 'There was a problem with creating winners for the game. Please try again.',
editWinnersMessage: 'You have successfully edited winners for the game.',
editWinnersErrorMessage: 'There was a problem with editing winners for the game. Please try again.',
dynamicFieldsKeysValidationMessage: 'Only lowercase, numbers and underscore are accepted as keys',
gameByIdErrorMessage: 'There was a problem retrieving full information about the game.',
gamesErrorMessage: 'There was a problem retrieving information about the games.',
uploadingImageMessage: 'You have successfully uploaded image',
generateSignedInUrlErrorMessage: 'There was a problem generating signed in URL to store the image in bucket. Please try again',
uploadingImageErrorMessage: 'There was a problem with uploading image to bucket. Please try again',
encryptingImageErrorMessage: 'There was a problem with encrypting image before uploading it to bucket. Please try again',
searchSportal365ImagesErrorMessage: 'There was a problem with searching images from Sportal 365 API. Please try again',
userGamePredictionErrorMessage: "There was a problem with fetching user's game prediction. Please try again",
getMatchesErrorMessage: 'An error occurred while fetching the matches. Please try again.',
urlCopiedToClipboardMessage: 'URL copied to clipboard',
imageDeletedMessage: 'Image deleted',
imageResetMessage: 'The initial size of the image has been restored',
provideTitleGameErrorMessage: 'You need to provide a title to your game!',
matchesNotPartOfCompetitionsWhitelistErrorMessage: 'Provided matches are not part of competitions whitelist. To change that you will need to go to our Management Portal -> Features -> Top X and update your competitions whitelist.'
};
const App = () => {
return (
<TopXManager
fansUnitedApiKey={'your-api-key'}
fansUnitedClientId={'your-client-id'}
labels={labels}/>
);
}
Here is all information about LabelsModel
:
| Key | Description | Default Value |
| :-------------: |:-------------:| :-----:|
| userNotFound
| On login screen when client gives invalid information about email or password. | User not found. Please try again. |
| clientConfigErrorMessage
| Toast error message when client is providing invalid value to fansUnitedApiKey or fansUnitedClientId prop. | There was a problem fetching client's configuration. Please check again your API key and client ID. For more information contact Fans United staff. |
| featureDisabled
| Label for no permission card title | Feature disabled! |
| noPermissionMessage
| Label for no permission card paragraph | You have no permission for this feature! |
| tryAgainButton
| Label for no permission card button | Try again |
| noGamesFound
| When there are no created games for specific client, this message will appear on screen. | No games were found. You can create a game by clicking the button 'Create'. |
| create
| Used as label on create button. | Create |
| signOut
| Used as label on sign out button. | Sign out |
| manageWinners
| Used as title in Winners screen. | Manage winners for Top X game with name |
| name
| Label for name. | Name
| status
| Label for status. | Status |
| participants
| Displayed in header of list of games. Count of users who have participated in the game | Participants |
| creationDate
| Displayed in header of list of games. Date of created game in same format as given for timeFormat
prop | Created at |
| acceptUntil
| Displayed in header of list of games. Date of predictions cutoff in same format as given for timeFormat
prop | Accept until |
| actions
| Displayed in header of list of games.| Actions |
| pending
| Status for specific game. | Pending |
| settled
| Status for specific game. | Settled |
| live
| Status for specific game. | Live |
| open
| Status for specific game. | Open |
| canceled
| Status for specific game. | Canceled |
| closed
| Status for specific game. | Closed |
| predictions
| Label for predictions column | Predictions |
| showDetails
| Label for show details hyperlink | Show details |
| noStandingsAvailable
| Label for no leaderboard available for a game | No standings available |
| close
| Label for close button | Close |
| predictionBy
| Label for title in prediction details modal | Prediction by |
| noMatchesAvailable
| Label for paragraph when no matches are available | No matches available |
| matches
| Label for matches tab | Matches |
| market
| Label for market paragraph | Market |
| prediction
| Label for prediction column | Prediction |
| dates
| Label for dates column | Dates |
| createdAt
| Label for prediction created at paragraph | Created at |
| updatedAt
| Label for prediction updated at paragraph | Updated at |
| noPredictionAvailable
| Label for no prediction available paragraph | No prediction available |
| void
| Status for fixture | Void |
| branding
| Label for branding accordion | Branding |
| configuration
| Label for configuration accordion | Configuration |
| match
| Label for match column | Match |
| outcome
| Label for outcome column | Outcome |
| settledAt
| Label for tooltip | Settled at |
| resettledAt
| Label for tooltip | Resettled at |
| filters
| Label for filters | Filters |
| fromDate
| Label for from date date picker | From date |
| toDate
| Label for to date date picker | To date |
| nicknameAndName
| Label for nickname and name column | Nickname & Name |
| edit
| Used as label on edit button. | Edit |
| standings
| Label standings tab. | Standings |
| timeFormat
| Time format for displaying dates. Widgets uses dayjs as a date dependency. | DD.MM.YYYY, HH:mm |
| previous
| Label for pagination button. | Previous |
| next
| Label for pagination button. | Next |
| id
| Label for ID read only input field. | ID |
| title
| Label for title input | Title |
| description
| Label for description input field when creating/editing a game. | Description |
| matchSelection
| Title for match selection section | Match selection |
| matchSelectionDescription
| Description about match selection section | Select a number of matches to include in your game. |
| gameMarket
| Label for game market select input. | Game market |
| gameMarketDescription
| Description about game market. | Determine how your game is being scored by choosing your market. Keep in mind that you can edit the market option only the game is in PENDING status. |
| marketCorrectScore
| Label for market correct score. | Correct score |
| marketCorrectScoreAdvanced
| Label for market correct score advanced. | Advanced correct score |
| timeTiebreaker
| Label for choosing a time tiebreaker option. | Time tiebreaker |
| timeTiebreakerDescription
| Description for choosing a time tiebreaker option. | When enabled the game's leaderboard will have a classic user ranking (1,2,3). In case of same points and golden goal, the user who placed their predictions eariler will be infront. When disabled the current game's leaderboard behavour is used - the golden goal tiebreaker is used and when 2 or more people have the same golden goal, the ranking will be 1,1,3,4,5,5,7,8. |
| rules
| Label for rules rich text. | Rules |
| adContent
| Label for ad content text area. | Ad content |
| adContentPlaceholder
| Placeholder for ad content text area. | Paste HTML here... |
| flags
| Label for flags. | Flags |
| flagsPlaceholder
| Placeholder on input field for game flags | Type your flag and hit enter |
| repeatedValueMessage
| Toast warning message when client submits same flag. | You have entered a repeated value. Please enter a different one. |
| related
| Label for related accordion. | Related |
| games
| Label for related games select input | Games |
| templates
| Label for related templates select input | Templates |
| labelsHeading
| Label for labels accordion. | Labels |
| customFields
| Label for custom fields accordion. | Labels |
| keyDynamicFields
| Label for key input. | Key |
| valueDynamicFields
| Label for value input. | Value |
| add
| Label for tooltip add button. | Add |
| cutoffTime
| Title for choosing a cutoff time for game. | Cutoff time |
| cutoffTimeDescriptionOnCreate
| Description about choosing a cutoff time for creating game. | Predictions will be accepted until this time. If not provided it will be automatically generated 15 minutes from the first match played. |
| cutoffTimeDescriptionOnEdit
| Description about choosing a cutoff time for editing game. | Predictions will be accepted until this time. Keep in mind that this field SHOUT NOT be empty.|
| removeMatch
| Label for tooltip remove match button | Remove match |
| back
| Tooltip content for back button (left arrow positioned on top-right corner). | Back |
| loadMore
| Label for tooltip load more button. | Load More |
| exportButton
| Label for button to open export modal screen. | Export |
| position
| Label in header's report table | Position |
| points
| Label in header's report table | Points |
| winnersDescription
| Description for winners description | Describe the winners... |
| note
| Label for note input | Note |
| tags
| Label for tags input | Tags |
| tagsPlaceholder
| Placeholder for tags input | Provide tags for the winner... |
| save
| Label for save button | Save |
| preview
| Label for preview button in winners screen | Preview |
| clearWinner
| Label for tooltip clearing winner button | Clear winner |
| csvModalTitle
| Title of the export modal. | Enter how many users should be exported |
| csvModalDescription
| Description of the export modal. | Download a .csv file with the first 100 number of users. | |
| csvModalPlaceholder
| Placeholder for input on export modal. | Export the first X users... |
| csvModalDownloadButton
| Label for button to download report as CSV file. Keep in mind that this label is uppercase. | Download as CSV file |
| csvModalValidationMessage
| Error message when invalid value is provided in input. | Input value has to be an integer number between 1 and 100 |
| csvModalErrorMessage
| Error message when exporting leaderboard as CSV file. | There was a problem with fetching game's report data |
| clear
| Tooltip for clearing button.| Clear |
| fixtures
| Label for fixtures section | Fixtures |
| orderByPlaceholder
| Placeholder for order by select | Order by |
| kickoffAscending
| Label for oder by option | Kick-off Ascending |
| kickoffDescending
| Label for oder by option | Kick-off Descending |
| minimumFixturesAre
| Warning alert message for minimum fixtures | The minimum fixtures are |
| maximumFixturesAre
| Warning alert message for maximum fixtures The maximum fixtures are |
| searchMatches
| Label for search matches accordion | Search matches |
| matchAddedToFixturesMessage
| Toast info message when adding matches to fixtures | added to 'Fixtures' |
| matchRemovedFromFixturesMessage
| Toast info message when removing matches from fixtures | removed from 'Fixtures' |
| schedule
| Label for schedule accordion | Schedule |
| createScheduledTaskMessage
| Toast successful message when a new scheduled task is created | You have successfully created scheduled task |
| createScheduledTaskErrorMessage
| Toast error message when a new scheduled task is created | An error occurred while creating scheduled task. Please try again later |
| updateScheduledTaskMessage
| Toast successful message when a scheduled task is updated | You have successfully updated scheduled task |
| updateScheduledTaskErrorMessage
| Toast error message when a scheduled task is updated | An error occurred while updating scheduled task. Please try again later |
| deleteScheduledTaskMessage
| Toast successful message when a scheduled task is deleted | You have successfully deleted scheduled task |
| deleteScheduledTaskErrorMessage
| Toast error message when a scheduled task is deleted | An error occurred while deleting scheduled task. Please try again later |
| useLegacyScheduleOpenAt
| Label for schedule open at switch | Use legacy schedule open at |
| useLegacyScheduleOpenAtDescription
| Description for schedule open at switch | This functionality will be deprecated on the 1st of April 2025. Please use the new scheduler functionality above. |
| scheduleOpenAt
| Label for schedule open at calendar | Schedule open at |
| changeStatusTo
| Label for select input in schedule accordion | Change status to: |
| at
| Label for calendar input in schedule accordion | At: |
| deleteScheduledTaskModalTitle
| Title for delete scheduled task modal | Delete scheduled task |
| deleteScheduledTaskModalParagraph
| Paragraph for delete scheduled task modal | Are you sure you want to delete the following scheduled task: |
| scheduledTaskNotAvailable
| Paragraph when trying to configure scheduled task for a specific game | To configure scheduled tasks you need to edit your game |
| competitionsSelectionPlaceholder
| Placeholder for competitions search select in fixtures | Search for competitions by their name |
| teamsSelectionPlaceholder
| Placeholder for teams search select in fixtures | Search for teams by their name |
| colors
| Label for colors tab in branding accordion | Colors |
| primaryColor
| Label for primary color input in branding accordion | Primary color |
| secondaryColor
| Label for secondary color input in branding accordion | Secondary color |
| contentColor
| Label for content color input in branding accordion | Content color |
| backgroundColor
| Label for background color input in branding accordion | Background color |
| borderColor
| Label for border color input in branding accordion | Border color |
| additionalColor
| Label for additional color input in branding accordion | Additional color |
| urls
| Label for urls tab in branding accordion | URLs |
| primaryUrl
| Label for primary url input in branding accordion | Primary URL |
| secondaryUrl
| Label for secondary url input in branding accordion | Secondary URL |
| privacyPolicyUrl
| Label for privacy policy url input in branding accordion | Privacy policy URL |
| termsAndConditionsUrl
| Label for terms and conditions url input in branding accordion | Terms and conditions URL |
| additionalUrl
| Label for additional url input in branding accordion | Additional URL |
| mainLogo
| Label for main logo input in branding accordion | Main Logo |
| mobileLogo
| Label for mobile logo input in branding accordion | Mobile logo |
| backgroundImage
| Label for background image input in branding accordion | Background image |
| mobileBackgroundImage
| Label for mobile background image input in branding accordion | Mobile background image |
| additionalImage
| Label for additional image input in branding accordion | Additional image |
| hideMoreImages
| Label for hide more images hyperlink | Hide more images |
| showMoreImages
| Label for show more images hyperlink | Show more images |
| images
| Title for images container. | Images |
| mainImage
| Title for main image. | Main |
| coverImage
| Title for cover image. | Cover |
| mobileImage
| Title for mobile image. | Mobile |
| uploadImage
| Label for upload button in images accordion | Upload Image |
| sportal365Images
| Label for sportal365 images button | Sportal365 Images |
| hideFilters
| Label for hide filters for sportal365 images hyperlink | Hide filters |
| showFilters
| Label for show filters for sportal365 images hyperlink | Show filters |
| manageGameTitle
| Title on managing screen | Manage Top X Game |
| manageGameDescription
| Description on managing screen | Using this form, you can manage Top X games. Choose the most interesting individual matches, set scoring rules, scheduling, customize branding options, and much more. |
| delete
| Label for delete button | Delete |
| excludedProfiles
| Label for excluded profiles accordion | Excluded profiles |
| excludedProfilesPlaceholder
| Placeholder for excluded profiles input search | Search for a profile by their name or nickname |
| searchProfilesErrorMessage
| Toast error message when search for profiles fails | There was a problem searching for profiles |
| clearImage
| Tooltip for clear image button | Clear image |
| copyUrl
| Tooltip for copy url image button | Copy URL |
| viewImage
| Tooltip for view image button | View image |
| cropImage
| Tooltip for crop image button | Crop image |
| aspectRatio
| Label for aspect ratio select | Aspect ratio |
| crop
| Label for crop button | Crop |
| reset
| Label for reset button | Reset |
| notVerified
| Label for prediction outcome. | Not verified |
| correct
| Label for prediction outcome. | Correct |
| partiallyCorrect
| Label for prediction outcome. | Partially correct |
| incorrect
| Label for prediction outcome. | Incorrect |
| correctNumberOfFixtures
| Successful alert message when the count of fixtures are is suitable per client's configuration. | You have set the correct number of fixtures |
| sortOrder
| Label for sort order select input | Sort order |
| ascending
| Label for ascending option | Ascending |
| descending
| Label for descending option | Descending |
| pageNo
| Label for pagination in report tab | Page No |
| manageWinnersActionLabel
| Label for manage winners button | Manage winners |
| stats
| Label for stats tab | Stats |
| configureWinners
| Title for configure winners screen. | Configure winners |
| additionalInformation
| Label for tooltip button. | Additional information |
| exportAllUsers
| Label for export all users button | Export all users |
| usersExportMessage
| A toast successful message for exported users | All users have been exported successfully |
| usersExportErrorMessage
| A toast error message for exported users | There was a problem with exporting users. Please try again |
| createGameMessage
| When creating a game displaying a toast successful message for created game. | You have successfully created a game. |
| editGameMessage
| When editing a game displaying a toast successful message for edited game. | You have successfully edited a game. |
| minFixturesMessage
| When managing a game displaying a toast error validation message for invalid fixtures count. | There is a requirement how many minimum fixtures you need to provide for the game and it is: |
| maxFixturesMessage
| When managing a game displaying a toast error validation message for invalid fixtures count. | There is a requirement how many maximum fixtures you can provide for the game and it is: |
| createGameErrorMessage
| When creating a game displaying a toast error message. | There was a problem with creating the game. Please try again. |
| editGameErrorMessage
| When editing a game displaying a toast error message. | There was a problem with editing the game. Please try again. |
| leaderboardErrorMessage
| Displaying a toast error message when fetching leaderboard for specific game. | There was a problem with displaying leaderboard. Please try again. |
| positionAndWinnerRequiredMessage
| When managing winners for a game displaying a toast validation error message. | Position and winner are required! |
| sameChosenWinnerMessage
| When managing winners for a game displaying a toast validation error message. | You have selected same winners. Each winner has to be unique! |
| createWinnersMessage
| When creating winners for a game displaying a toast success message. | You have successfully created winners for the game. |
| createWinnersErrorMessage
| When creating winners for a game displaying a toast error message. | There was a problem with creating winners for the game. Please try again. |
| editWinnersMessage
| When editing winners for a game displaying a toast success message. | You have successfully edited winners for the game. |
| editWinnersErrorMessage
| When editing winners for a game displaying a toast error message. | There was a problem with editing winners for the game. Please try again. |
| winnersErrorMessage
| When fetching winners for a game displaying a toast error message when request fails. | There was a problem with fetching information about game winners. Please try again. |
| dynamicFieldsKeysValidationMessage
| Error toast message when provided keys are invalid. | Only lowercase letters, numbers and underscore are accepted as keys! |
| gameByIdErrorMessage
| When editing a game displaying a toast error message when request fails for retrieving full information about the game. | There was a problem retrieving full information about the game. |
| gamesErrorMessage
| When fetching games displaying a toast error message when request fails. | There was a problem retrieving information about the games. |
| generateSignedInUrlErrorMessage
| Toast error message when trying to receive a signed in URL. | There was a problem generating signed in URL to store the image in bucket. Please try again |
| uploadingImageMessage
| Toast success message when uploading image to bucket | You have successfully uploaded image |
| uploadingImageErrorMessage
| Toast error message when uploading image to bucket | There was a problem with uploading image to bucket. Please try again |
| encryptingImageErrorMessage
| Toast error message when encrypting image before uploading it to bucket | There was a problem with encrypting image before uploading it to bucket. Please try again |
| searchSportal365ImagesErrorMessage
| Toast error message when searching images from Sportal 365 API | There was a problem with searching images from Sportal 365 API. Please try again |
| userGamePredictionErrorMessage
| Toast error message when fetching user's prediction for specific game | There was a problem with fetching user's game prediction. Please try again |
| getMatchesErrorMessage
| Toast error message when fetching matches | An error occurred while fetching the matches. Please try again. |
| getMatchesErrorMessage
| Toast error message when fetching matches | An error occurred while fetching the matches. Please try again later |
| urlCopiedToClipboardMessage
| Toast info message when image URL is copied | URL copied to clipboard |
| imageDeletedMessage
| Toast info message when image is deleted | Image deleted |
| imageResetMessage
| Toast info message when image size is restored | The initial size of the image has been restored |
| provideTitleGameErrorMessage
| Toast error validation message when managing a game with no title. | You need to provide a title to your game! |
| matchesNotPartOfCompetitionsWhitelistErrorMessage
| Toast error validation message when provided matches are not part of competitions whitelist. | Provided matches are not part of competitions whitelist. To change that you will need to go to our Management Portal -> Features -> Top X and update your competitions whitelist. |