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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
10 deletions
+17
-10
index.js
frontend/src/pages/projects/index.js
+17
-10
No files found.
frontend/src/pages/projects/index.js
View file @
2c5212ff
...
@@ -45,24 +45,28 @@ const Project = ({ project }) => {
...
@@ -45,24 +45,28 @@ const Project = ({ project }) => {
<
/ListItemAvatar
>
<
/ListItemAvatar
>
<
ListItemText
<
ListItemText
primary
=
{
project
.
name
}
primary
=
{
project
.
name
}
/
>
<
ListItemText
secondary
=
{
secondary
=
{
<
React
.
Fragment
>
<
React
.
Fragment
>
<
div
>
<
Typography
<
Typography
component
=
"div"
component
=
"div"
variant
=
"body2"
variant
=
"body2"
color
=
"textPrimary"
color
=
"textPrimary"
>
>
To
languages
:
Status
:
{
project
.
status
}
<
/Typography
>
<
/Typography
>
{
Array
.
isArray
(
project
.
targetLanguages
)
&&
project
.
targetLanguages
.
map
(
l
=>
(
<
Chip
key
=
{
l
}
label
=
{
l
}
/>
))
}
<
/div
>
<
/React.Fragment
>
<
div
>
}
<
Typography
/
>
component
=
"div"
<
ListItemText
variant
=
"body2"
secondary
=
{
color
=
"textPrimary"
<
React
.
Fragment
>
>
From
language
:
<
/Typography
>
<
Chip
label
=
{
project
.
sourceLanguage
}
/
>
<
/div
>
<
div
>
<
Typography
<
Typography
component
=
"span"
component
=
"span"
variant
=
"body2"
variant
=
"body2"
...
@@ -71,6 +75,9 @@ const Project = ({ project }) => {
...
@@ -71,6 +75,9 @@ const Project = ({ project }) => {
To
languages
:
To
languages
:
<
/Typography
>
<
/Typography
>
{
Array
.
isArray
(
project
.
targetLanguages
)
&&
project
.
targetLanguages
.
map
(
l
=>
(
<
Chip
key
=
{
l
}
label
=
{
l
}
/>
))
}
{
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