Skip to content

Commit dbc27da

Browse files
author
Martin Krulis
committed
Fixing group labels and icons of links which should have been already changed in previous PRs.
1 parent 2bcf684 commit dbc27da

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

src/containers/SisIntegrationContainer/SisIntegrationContainer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import LeaveJoinGroupButtonContainer from '../LeaveJoinGroupButtonContainer';
1919
import { getGroupCanonicalLocalizedName } from '../../helpers/localizedData';
2020
import ResourceRenderer from '../../components/helpers/ResourceRenderer';
2121

22-
import { GroupIcon } from '../../components/icons';
22+
import { AssignmentsIcon } from '../../components/icons';
2323
import { safeGet } from '../../helpers/common';
2424
import withLinks from '../../helpers/withLinks';
2525

@@ -148,10 +148,10 @@ class SisIntegrationContainer extends Component {
148148
: GROUP_DETAIL_URI_FACTORY(group.id)
149149
}>
150150
<Button bsStyle="primary" bsSize="xs" className="btn-flat">
151-
<GroupIcon gapRight />
151+
<AssignmentsIcon gapRight />
152152
<FormattedMessage
153153
id="app.group.assignments"
154-
defaultMessage="Group Detail"
154+
defaultMessage="Assignments"
155155
/>
156156
</Button>
157157
</LinkContainer>

src/locales/cs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,7 @@
798798
"app.group.adminsView.addSupervisor": "Přidat vedoucího",
799799
"app.group.archivedExplain": "Tato skupina je archivována, takže nemůže být měněna.",
800800
"app.group.assignments": "Úlohy",
801+
"app.group.assignmentsLong": "Úlohy skupiny",
801802
"app.group.createExercise": "Vytvořit úlohu ve skupině",
802803
"app.group.info": "Info skupiny",
803804
"app.group.isPublicWarning": "Skupina je veřejná, což znamená, že ji vidí všichni a kdokoli se do ní může přihlásit.",
@@ -807,7 +808,6 @@
807808
"app.group.setRoot": "Vybrat",
808809
"app.group.spervisorsView.addStudent": "Přidat studenta",
809810
"app.group.spervisorsView.groupExercises": "Skupinové úlohy",
810-
"app.group.title": "Detaily skupiny",
811811
"app.group.unbind": "Odvázat",
812812
"app.group.unbind.confirmQuestion": "Opravdu si přejete zrušit tuto vazbu na skupinu? Skupina zůstane na svém místě, ale bez odpovídající vazby na SIS ji nemusí nalézt studenti.",
813813
"app.group.unsetRoot": "Zrušit výběr",

src/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,8 @@
797797
"app.generateTokenForm.year": "1 Year",
798798
"app.group.adminsView.addSupervisor": "Add Supervisor",
799799
"app.group.archivedExplain": "This group is archived, so it cannot be modified.",
800-
"app.group.assignments": "Group Detail",
800+
"app.group.assignments": "Assignments",
801+
"app.group.assignmentsLong": "Group Assignments",
801802
"app.group.createExercise": "Create Exercise in Group",
802803
"app.group.info": "Group Info",
803804
"app.group.isPublicWarning": "The group is public, which means that everyone can see this group and join it.",
@@ -807,7 +808,6 @@
807808
"app.group.setRoot": "Select",
808809
"app.group.spervisorsView.addStudent": "Add Student",
809810
"app.group.spervisorsView.groupExercises": "Group Exercises",
810-
"app.group.title": "Group detail",
811811
"app.group.unbind": "Unbind",
812812
"app.group.unbind.confirmQuestion": "Do you really wish to unbind the group? The group will linger on, but it will be detached from the SIS so the students will not see it.",
813813
"app.group.unsetRoot": "Unset",

src/locales/whitelist_en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,7 @@
798798
"app.group.adminsView.addSupervisor",
799799
"app.group.archivedExplain",
800800
"app.group.assignments",
801+
"app.group.assignmentsLong",
801802
"app.group.createExercise",
802803
"app.group.info",
803804
"app.group.isPublicWarning",
@@ -807,7 +808,6 @@
807808
"app.group.setRoot",
808809
"app.group.spervisorsView.addStudent",
809810
"app.group.spervisorsView.groupExercises",
810-
"app.group.title",
811811
"app.group.unbind",
812812
"app.group.unbind.confirmQuestion",
813813
"app.group.unsetRoot",

src/pages/Assignment/Assignment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ class Assignment extends Component {
104104
breadcrumbs={[
105105
{
106106
resource: assignment,
107-
iconName: 'users',
107+
iconName: 'tasks',
108108
breadcrumb: assignment => ({
109-
text: <FormattedMessage id="app.group.title" defaultMessage="Group detail" />,
109+
text: <FormattedMessage id="app.group.assignmentsLong" defaultMessage="Group Assignments" />,
110110
link: ({ GROUP_DETAIL_URI_FACTORY }) => GROUP_DETAIL_URI_FACTORY(assignment.groupId),
111111
}),
112112
},

src/pages/AssignmentStats/AssignmentStats.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ class AssignmentStats extends Component {
281281
breadcrumbs={[
282282
{
283283
resource: assignment,
284-
iconName: 'users',
284+
iconName: 'tasks',
285285
breadcrumb: assignment => ({
286-
text: <FormattedMessage id="app.group.title" defaultMessage="Group detail" />,
286+
text: <FormattedMessage id="app.group.assignmentsLong" defaultMessage="Group Assignments" />,
287287
link: ({ GROUP_DETAIL_URI_FACTORY }) => GROUP_DETAIL_URI_FACTORY(assignment.groupId),
288288
}),
289289
},

src/pages/Dashboard/Dashboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class Dashboard extends Component {
212212
<AssignmentsIcon gapRight />
213213
<FormattedMessage
214214
id="app.group.assignments"
215-
defaultMessage="Group Detail"
215+
defaultMessage="Assignments"
216216
/>
217217
</Button>
218218
</LinkContainer>
@@ -275,7 +275,7 @@ class Dashboard extends Component {
275275
<GroupIcon gapRight />
276276
<FormattedMessage
277277
id="app.group.assignments"
278-
defaultMessage="Group Detail"
278+
defaultMessage="Assignments"
279279
/>
280280
</Button>
281281
</LinkContainer>

src/pages/EditGroup/EditGroup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class EditGroup extends Component {
9393
link: GROUP_INFO_URI_FACTORY(groupId),
9494
},
9595
{
96-
text: <FormattedMessage id="app.group.title" />,
96+
text: <FormattedMessage id="app.group.assignmentsLong" defaultMessage="Group Assignments" />,
9797
iconName: 'tasks',
9898
link: GROUP_DETAIL_URI_FACTORY(groupId),
9999
},

src/pages/ShadowAssignment/ShadowAssignment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ class ShadowAssignment extends Component {
5555
breadcrumbs={[
5656
{
5757
resource: shadowAssignment,
58-
iconName: 'users',
58+
iconName: 'tasks',
5959
breadcrumb: shadowAssignment => ({
60-
text: <FormattedMessage id="app.group.title" defaultMessage="Group detail" />,
60+
text: <FormattedMessage id="app.group.assignmentsLong" defaultMessage="Group Assignments" />,
6161
link: ({ GROUP_DETAIL_URI_FACTORY }) => GROUP_DETAIL_URI_FACTORY(shadowAssignment.groupId),
6262
}),
6363
},

src/pages/Solution/Solution.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ class Solution extends Component {
7676
breadcrumbs={[
7777
{
7878
resource: assignment,
79-
iconName: 'users',
79+
iconName: 'tasks',
8080
breadcrumb: assignment => ({
81-
text: <FormattedMessage id="app.group.title" defaultMessage="Group detail" />,
81+
text: <FormattedMessage id="app.group.assignmentsLong" defaultMessage="Group Assignments" />,
8282
link: ({ GROUP_DETAIL_URI_FACTORY }) => GROUP_DETAIL_URI_FACTORY(assignment.groupId),
8383
}),
8484
},

0 commit comments

Comments
 (0)