banners are show now !
This commit is contained in:
@@ -10,6 +10,7 @@ var React = require('react'),
|
||||
NavigationStore = require('../../stores/navigationStore'),
|
||||
ItemList = require('../items/itemList'),
|
||||
NavigationActions = require('../../actions/navigationActions'),
|
||||
LinkBanner = require('../linkBanner/linkBanner'),
|
||||
Globals = require('../../globals');
|
||||
|
||||
var ByCategory = React.createClass({
|
||||
@@ -50,6 +51,10 @@ var ByCategory = React.createClass({
|
||||
render: function() {
|
||||
var self = this;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className='col-md-2'>
|
||||
@@ -78,6 +83,8 @@ var ByCategory = React.createClass({
|
||||
|
||||
<div className='col-md-10'>
|
||||
|
||||
<LinkBanner locationName="category" locationId={Number(this.getParams().id)} />
|
||||
|
||||
<h3> Kategorija - {this.state.category.get('name')}</h3>
|
||||
Number of items in this category: {this.state.items.length}
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user