| |
@@ -1,6 +1,7 @@
|
| |
import React, { Component } from "react"
|
| |
import { Row } from "reactstrap"
|
| |
import SourceLink from "./SourceLink"
|
| |
+ import BugStats from "./common/BugStats"
|
| |
|
| |
class Blockers extends Component {
|
| |
constructor(props) {
|
| |
@@ -17,65 +18,8 @@
|
| |
<SourceLink href="https://qa.fedoraproject.org/blockerbugs/" />
|
| |
</h1>
|
| |
<Row>
|
| |
- <div className="col-md-6">
|
| |
- <table className="events">
|
| |
- <thead>
|
| |
- <tr>
|
| |
- <td colSpan="2">
|
| |
- <b>Beta</b>
|
| |
- </td>
|
| |
- </tr>
|
| |
- </thead>
|
| |
- <tbody>
|
| |
- <tr>
|
| |
- <td>Proposed Blockers</td>
|
| |
- <td className="bugscount">{this.props.data.beta_blockers_proposed}</td>
|
| |
- </tr>
|
| |
- <tr>
|
| |
- <td>Accepted Blockers</td>
|
| |
- <td className="bugscount">{this.props.data.beta_blockers}</td>
|
| |
- </tr>
|
| |
- <tr>
|
| |
- <td>Proposed FEs</td>
|
| |
- <td className="bugscount">{this.props.data.beta_fe_proposed}</td>
|
| |
- </tr>
|
| |
- <tr>
|
| |
- <td>Accepted FEs</td>
|
| |
- <td className="bugscount">{this.props.data.beta_fe}</td>
|
| |
- </tr>
|
| |
- </tbody>
|
| |
- </table>
|
| |
- </div>
|
| |
-
|
| |
- <div className="col-md-6">
|
| |
- <table className="events">
|
| |
- <thead>
|
| |
- <tr>
|
| |
- <td colSpan="2">
|
| |
- <b>Final</b>
|
| |
- </td>
|
| |
- </tr>
|
| |
- </thead>
|
| |
- <tbody>
|
| |
- <tr>
|
| |
- <td>Proposed Blockers</td>
|
| |
- <td className="bugscount">{this.props.data.final_blockers_proposed}</td>
|
| |
- </tr>
|
| |
- <tr>
|
| |
- <td>Accepted Blockers</td>
|
| |
- <td className="bugscount">{this.props.data.final_blockers}</td>
|
| |
- </tr>
|
| |
- <tr>
|
| |
- <td>Proposed FEs</td>
|
| |
- <td className="bugscount">{this.props.data.final_fe_proposed}</td>
|
| |
- </tr>
|
| |
- <tr>
|
| |
- <td>Accepted FEs</td>
|
| |
- <td className="bugscount">{this.props.data.final_fe}</td>
|
| |
- </tr>
|
| |
- </tbody>
|
| |
- </table>
|
| |
- </div>
|
| |
+ <BugStats milestone = {"Beta"} stats = {this.props.data.beta} />
|
| |
+ <BugStats milestone = {"Final"} stats = {this.props.data.final} />
|
| |
</Row>
|
| |
</div>
|
| |
)
|
| |
Added BugStats component but mapping is not done should we proceed with data manipulation on frontend or backend?