Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memsource
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jan Hrabal
memsource
Commits
2c5212ff
Commit
2c5212ff
authored
5 years ago
by
Jan Hrabal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI improvements
parent
f1c87063
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
24 deletions
+31
-24
index.js
frontend/src/pages/projects/index.js
+31
-24
No files found.
frontend/src/pages/projects/index.js
View file @
2c5212ff
...
...
@@ -45,32 +45,39 @@ const Project = ({ project }) => {
<
/ListItemAvatar
>
<
ListItemText
primary
=
{
project
.
name
}
/
>
<
ListItemText
secondary
=
{
<
React
.
Fragment
>
<
Typography
component
=
"div"
variant
=
"body2"
color
=
"textPrimary"
>
To
languages
:
<
/Typography
>
{
Array
.
isArray
(
project
.
targetLanguages
)
&&
project
.
targetLanguages
.
map
(
l
=>
(
<
Chip
key
=
{
l
}
label
=
{
l
}
/>
))
}
<
/React.Fragment
>
}
/
>
<
ListItemText
secondary
=
{
<
React
.
Fragment
>
<
Typography
component
=
"span"
variant
=
"body2"
color
=
"textPrimary"
>
To
languages
:
<
/Typography
>
{
Array
.
isArray
(
project
.
targetLanguages
)
&&
project
.
targetLanguages
.
map
(
l
=>
(
<
Chip
key
=
{
l
}
label
=
{
l
}
/>
))
}
<
div
>
<
Typography
component
=
"div"
variant
=
"body2"
color
=
"textPrimary"
>
Status
:
{
project
.
status
}
<
/Typography
>
<
/div
>
<
div
>
<
Typography
component
=
"div"
variant
=
"body2"
color
=
"textPrimary"
>
From
language
:
<
/Typography
>
<
Chip
label
=
{
project
.
sourceLanguage
}
/
>
<
/div
>
<
div
>
<
Typography
component
=
"span"
variant
=
"body2"
color
=
"textPrimary"
>
To
languages
:
<
/Typography
>
{
Array
.
isArray
(
project
.
targetLanguages
)
&&
project
.
targetLanguages
.
map
(
l
=>
(
<
Chip
key
=
{
l
}
label
=
{
l
}
/>
))
}
<
/div
>
<
/React.Fragment
>
}
/
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment