forked from vergnet/application-amicale
Improved group favorite section
This commit is contained in:
parent
dc3aed8bda
commit
80ff70c1f7
4 changed files with 6 additions and 4 deletions
|
@ -74,7 +74,7 @@ class GroupListAccordion extends React.Component<Props, State> {
|
|||
justifyContent: 'center',
|
||||
}}
|
||||
left={props =>
|
||||
item.id === "0"
|
||||
item.id === 0
|
||||
? <List.Icon
|
||||
{...props}
|
||||
icon={"star"}
|
||||
|
|
|
@ -188,7 +188,7 @@ class GroupSelectionScreen extends React.Component<Props, State> {
|
|||
data.push(fetchedData[key]);
|
||||
}
|
||||
data.sort(sortName);
|
||||
data.unshift({name: "FAVORITES", id: 0, content: this.state.favoriteGroups});
|
||||
data.unshift({name: i18n.t("planexScreen.favorites"), id: 0, content: this.state.favoriteGroups});
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
|
@ -213,7 +213,8 @@
|
|||
"enableStartScreen": "Come here often? Set it as default screen!",
|
||||
"enableStartOK": "Yes please!",
|
||||
"enableStartCancel": "Later",
|
||||
"noGroupSelected": "No group selected. Please select your group using the big beautiful red button bellow."
|
||||
"noGroupSelected": "No group selected. Please select your group using the big beautiful red button bellow.",
|
||||
"favorites": "Favorites"
|
||||
},
|
||||
"availableRoomScreen": {
|
||||
"normalRoom": "Work",
|
||||
|
|
|
@ -213,7 +213,8 @@
|
|||
"enableStartScreen": "Vous venez souvent ici ? Démarrez l'appli sur cette page!",
|
||||
"enableStartOK": "Oui svp!",
|
||||
"enableStartCancel": "Plus tard",
|
||||
"noGroupSelected": "Pas de group sélectionné. Merci de choisir un groupe avec le beau bouton rouge ci-dessous."
|
||||
"noGroupSelected": "Pas de group sélectionné. Merci de choisir un groupe avec le beau bouton rouge ci-dessous.",
|
||||
"favorites": "Favoris"
|
||||
},
|
||||
"availableRoomScreen": {
|
||||
"normalRoom": "Travail",
|
||||
|
|
Loading…
Reference in a new issue