diff --git a/app/scripts/src/app.jsx b/app/scripts/src/app.jsx index 6dd5495..a6826e2 100644 --- a/app/scripts/src/app.jsx +++ b/app/scripts/src/app.jsx @@ -181,10 +181,10 @@ var SelectOrg = React.createClass({ var InfoBlock = React.createClass({ render: function() { - var img =
; return (
- { this.props.image ? img : null } +

{this.props.title}

{this.props.text}

diff --git a/app/styles/app.css b/app/styles/app.css index 93d4a73..dc056f5 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -85,6 +85,9 @@ section { margin-right: 20px; border-radius: 3px; } +.info-block .img.empty { + background-color: #ddd; +} .info-block h1 { font-size: 32px;