Skip to content

Commit

Permalink
chore: combine governance and sponsored project columns governance table
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Jan 23, 2024
1 parent 3905c61 commit 9913e06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 2 additions & 8 deletions src/components/GovernancePage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,7 @@ class GovernancePage extends Component {
<th className="add">Add</th>
<th className="rank"><span className="sort">Rank ↓</span></th>
<th>Name</th>
<th>CPS<i style={{ marginLeft: '5px' }} className='img screamer' onClick={() => {
this.props.setPopup({
type: POPUP_TYPE.GOVERNANCE
})
}}></i></th>
<th><span>Sponsored<br />Projects</span><i style={{ marginLeft: '5px' }} className="img screamer" onClick={() => {
<th>CPS Council /<div></div><span>Sponsored<br />Projects</span><i style={{ marginLeft: '5px' }} className="img screamer" onClick={() => {
this.props.setPopup({ type: POPUP_TYPE.SPONSOR })
}}></i></th>
<th>Productivity<br /><em>Produced /<br />(Produced + Missed)</em></th>
Expand Down Expand Up @@ -507,8 +502,7 @@ class TableRow extends Component {
</li>
</ul>
</td>
<td>{cps_governance ? '✓' : '-'}</td>
<td>{sponsored_cps_grants ? sponsored_cps_grants : 0}</td>
<td>{cps_governance ? (sponsored_cps_grants ? '✓' : 0) : '-'}</td>
<td>
<span>{productivity !== 'None' ? productivity : '0.00%'}</span>
<em>
Expand Down
6 changes: 4 additions & 2 deletions src/components/Popup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,10 @@ class Popup extends Component {
<div className="popup">
<h1 className="title">Sponsored Projects</h1>
<p className="txt">
Sponsored Projects counts each time a team has invested their own ICX to
support a project
CPS funds development within the ecosystem with preps optionally
participating on a council voting on which projects receive
funding. Sponsored Projects counts each time a team has
invested their own ICX to support a project.
</p>
<div className="btn-holder full">
<button
Expand Down

0 comments on commit 9913e06

Please sign in to comment.