Changeset 3867 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/support/index.jsx
- Timestamp:
- 08/26/2016 10:13:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/support/index.jsx
r3862 r3867 9 9 }, 10 10 11 componentDidUpdate() { 12 this.resolutions = this.resolutions || this.props.plugin.support_threads; 13 }, 14 11 15 supportBar() { 12 16 const { support_threads: threads, support_threads_resolved: resolved } = this.props.plugin; … … 17 21 <p className="counter-container"> 18 22 <span className="counter-back"> 19 <span className="counter-bar" style={ { width: `${ 100 * resolved / threads }%` } } />23 <span className="counter-bar" style={ { width: `${ 100 * resolved / threads }%` } } /> 20 24 </span> 21 25 <span className="counter-count"> … … 45 49 render() { 46 50 return ( 47 <div className="widget widget_text">51 <div className="widget plugin-support"> 48 52 <h4 className="widget-title">Support</h4> 49 53 { this.resolutions ?
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)