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
Sep 17, 2019
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 }) => {
...
@@ -45,32 +45,39 @@ const Project = ({ project }) => {
<
/ListItemAvatar
>
<
/ListItemAvatar
>
<
ListItemText
<
ListItemText
primary
=
{
project
.
name
}
primary
=
{
project
.
name
}
/
>
<
ListItemText
secondary
=
{
secondary
=
{
<
React
.
Fragment
>
<
React
.
Fragment
>
<
Typography
<
div
>
component
=
"div"
<
Typography
variant
=
"body2"
component
=
"div"
color
=
"textPrimary"
variant
=
"body2"
>
color
=
"textPrimary"
To
languages
:
>
<
/Typography
>
Status
:
{
project
.
status
}
{
Array
.
isArray
(
project
.
targetLanguages
)
&&
project
.
targetLanguages
.
map
(
l
=>
(
<
Chip
key
=
{
l
}
label
=
{
l
}
/>
))
}
<
/Typography
>
<
/React.Fragment
>
<
/div
>
}
<
div
>
/
>
<
Typography
<
ListItemText
component
=
"div"
secondary
=
{
variant
=
"body2"
<
React
.
Fragment
>
color
=
"textPrimary"
<
Typography
>
component
=
"span"
From
language
:
variant
=
"body2"
<
/Typography
>
color
=
"textPrimary"
<
Chip
label
=
{
project
.
sourceLanguage
}
/
>
>
<
/div
>
To
languages
:
<
div
>
<
/Typography
>
<
Typography
{
Array
.
isArray
(
project
.
targetLanguages
)
&&
project
.
targetLanguages
.
map
(
l
=>
(
<
Chip
key
=
{
l
}
label
=
{
l
}
/>
))
}
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
>
<
/React.Fragment
>
}
}
/
>
/
>
...
...
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