Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Julien Jerphanion
Rex Dri
Commits
8c1a9051
Commit
8c1a9051
authored
Feb 27, 2019
by
Florent Chehab
Browse files
Removed comment from UniversityGeneral
[OUT OF THE SCOPE OF THIS BRANCH I KNOW :) ]
parent
4235b060
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/university/modules/UniversityGeneral.js
View file @
8c1a9051
...
...
@@ -5,7 +5,6 @@ import compose from "recompose/compose";
import
{
connect
}
from
"
react-redux
"
;
import
__pick
from
"
lodash/pick
"
;
import
Markdown
from
"
../../shared/Markdown
"
;
import
Typography
from
"
@material-ui/core/Typography
"
;
import
GenericModule
from
"
../shared/GenericModule
"
;
...
...
@@ -26,38 +25,34 @@ const styles = theme => ({
function
renderCore
(
rawModelData
,
classes
,
outsideData
)
{
const
univInfos
=
rawModelData
;
const
{
name
,
acronym
,
logo
,
website
,
comment
}
=
univInfos
;
const
{
name
,
acronym
,
logo
,
website
}
=
univInfos
;
const
{
city
,
country
}
=
outsideData
;
return
(
<
div
>
<
Grid
container
spacing
=
{
16
}
direction
=
'
row
'
>
<
Grid
item
xs
=
{
4
}
style
=
{{
display
:
"
inline-flex
"
,
alignItems
:
"
center
"
}}
>
<
Grid
container
spacing
=
{
16
}
direction
=
'
row
'
>
<
Grid
item
xs
=
{
4
}
style
=
{{
display
:
"
inline-flex
"
,
alignItems
:
"
center
"
}}
>
{
logo
!=
""
?
<
img
style
=
{{
width
:
"
100%
"
}}
src
=
{
logo
}
/
>
:
<
PhotoSizeSelectActualIcon
style
=
{{
marginLeft
:
"
auto
"
,
marginRight
:
"
auto
"
,
width
:
"
60%
"
,
height
:
"
60%
"
}}
/
>
}
<
/Grid
>
<
Grid
item
xs
>
<
Typography
variant
=
'
h5
'
>
{
name
}
<
/Typography
>
<
Typography
variant
=
'
h6
'
>
{
acronym
}
<
/Typography
>
<
Divider
/>
<
Typography
variant
=
'
subtitle1
'
>
{
city
},
{
country
}
<
/Typography
>
<
Typography
variant
=
'
body2
'
>
Site
internet
&
nbsp
;:{
"
"
}
{
logo
!=
""
?
<
img
style
=
{{
width
:
"
100%
"
}}
src
=
{
logo
}
/
>
website
!=
""
?
<
TextLink
href
=
{
website
}
>
{
website
}
<
/TextLink
>
:
<
PhotoSizeSelectActualIcon
style
=
{{
marginLeft
:
"
auto
"
,
marginRight
:
"
auto
"
,
width
:
"
60%
"
,
height
:
"
60%
"
}}
/
>
<
em
>
Non
connu
.
<
/em
>
}
<
/Grid
>
<
Grid
item
xs
>
<
Typography
variant
=
'
h5
'
>
{
name
}
<
/Typography
>
<
Typography
variant
=
'
h6
'
>
{
acronym
}
<
/Typography
>
<
Divider
/>
<
Typography
variant
=
'
subtitle1
'
>
{
city
},
{
country
}
<
/Typography
>
<
Typography
variant
=
'
body2
'
>
Site
internet
&
nbsp
;:{
"
"
}
{
website
!=
""
?
<
TextLink
href
=
{
website
}
>
{
website
}
<
/TextLink
>
:
<
em
>
Non
connu
.
<
/em
>
}
<
/Typography
>
<
/Grid
>
<
/Typography
>
<
/Grid
>
<
Markdown
source
=
{
comment
}
/
>
<
/div
>
<
/Grid
>
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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