diff --git a/front-ui/app/components/items/singleItem.js b/front-ui/app/components/items/singleItem.js index f167541..016cc62 100644 --- a/front-ui/app/components/items/singleItem.js +++ b/front-ui/app/components/items/singleItem.js @@ -12,43 +12,41 @@ var SingleItem = React.createClass({ var itemClick = this.itemClick; var firstImage = this.props.item.get('multi_media_descriptions')[0]; firstImage = firstImage || { resized_url: "https://res.cloudinary.com/lfvt7ps2n/image/upload/c_fit,h_172,w_226/v1421732950/http_www.asms.ru_bitrix_templates_main_images_nophoto_irnofq.png" } ; - if (hidePrice) { - return ( + if (hidePrice) { + return (
product image
- +

{ this.props.item.get('brand') ? this.props.item.get('brand').name : '' }{ this.props.item.get('name') }

- +
-
+ ); } else { - return ( + return (
product image -
-
+

{ this.props.item.get('brand') ? this.props.item.get('brand').name : '' }{ this.props.item.get('name') }

{ this.props.item.get('list_price') } KM

-
-
+
); } }, itemClick: function(e) { NavigationActions.goToItemDetails(this.props.item); - console.log(this.props.item) + console.log(this.props.item) } }); -module.exports = SingleItem; +module.exports = SingleItem; diff --git a/front-ui/app/components/startPage/startPage.js b/front-ui/app/components/startPage/startPage.js index 9b65de7..68ab8df 100644 --- a/front-ui/app/components/startPage/startPage.js +++ b/front-ui/app/components/startPage/startPage.js @@ -9,11 +9,7 @@ var StartPage = React.createClass({ return (
-
- left content -
-
-

Ribica Start Page

+