Changeset 3717 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/client/components/archive-browse.jsx
- Timestamp:
- 07/24/2016 09:40:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/client/components/archive-browse.jsx
r3695 r3717 1 1 import React from 'react'; 2 3 /** 4 * Internal dependencies. 5 */ 6 import ContentNone from 'components/content-none'; 2 7 3 8 export default React.createClass( { … … 5 10 6 11 render() { 12 let content = <ContentNone { ...this.props } />; 13 14 if ( false /*this.props.plugins.length*/ ) { 15 content = <header className="page-header"> 16 <h1 className="page-title"></h1> 17 <div className="taxonomy-description"></div> 18 </header> 19 20 content += this.props.plugins.map( plugin => <PluginCard key={ plugin.slug } plugin={ plugin } /> ); 21 } 22 7 23 return ( 8 <div>{ this.props.params.type}</div>24 <div>{ content }</div> 9 25 ) 10 26 }
Note: See TracChangeset
for help on using the changeset viewer.