fiddled around with css / numbers on two decimals now on product list

This commit is contained in:
Senad Uka
2015-06-06 21:50:41 +02:00
parent 763bc329fc
commit 771a71b42f
5 changed files with 16 additions and 5 deletions

View File

@@ -1,8 +1,9 @@
var React = require('react');
var ItemActions = require('../../actions/itemActions');
var NavigationActions = require('../../actions/navigationActions');
var NavigationStore = require('../../stores/navigationStore')
var NavigationStore = require('../../stores/navigationStore');
var Globals = require('../../globals');
var Router = require('react-router');
var SingleItem = React.createClass({
@@ -19,7 +20,7 @@ var SingleItem = React.createClass({
<img className="img-responsive" src={firstImage.url} alt="product image" />
<div>
<p>{ this.props.item.get('brand') ? this.props.item.get('brand').name : '' }{ this.props.item.get('name') }</p>
<p> <p className="productbox item_brand_name">{ this.props.item.get('brand') ? this.props.item.get('brand').name : '' }</p>{ this.props.item.get('name') }</p>
</div>
</div>
@@ -33,8 +34,9 @@ var SingleItem = React.createClass({
<div className="productbox">
<img className="img-responsive" src={firstImage.resized_url} alt="product image" />
<div style={{height: "110px"}}>
<p>{ this.props.item.get('brand') ? this.props.item.get('brand').name : '' }{ this.props.item.get('name') }</p>
<h4>{ this.props.item.get('list_price') } KM </h4>
<p> <span className="text-uppercase">{ this.props.item.get('brand') ? this.props.item.get('brand').name : '' }</span>
<br /><span className="text-capitalize">{ this.props.item.get('name') }</span></p>
<h4>{ Globals.FormatCurrency(this.props.item.get('list_price')) }</h4>
</div>
</div>
</div>