Skip to content

Commit

Permalink
pi-apps#130 removed inflation pools view, removed inflation destinati…
Browse files Browse the repository at this point in the history
…on from accounts view, left inflation pool addresses in directory for historical info
  • Loading branch information
Chris Hatch committed Nov 8, 2019
1 parent f35821e commit ac8807b
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 122 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ Local: http://localhost:3000

### Directory

| Resource | URI |
| --------------- | ------------------------------------------ |
| Assets | [/assets](https://steexp.com/assets) |
| Anchors | [/anchors](https://steexp.com/anchors) |
| Exchanges | [/exchanges](https://steexp.com/exchanges) |
| Inflation Pools | [/pools](https://steexp.com/pools) |
| Resource | URI |
| --------- | ------------------------------------------ |
| Assets | [/assets](https://steexp.com/assets) |
| Anchors | [/anchors](https://steexp.com/anchors) |
| Exchanges | [/exchanges](https://steexp.com/exchanges) |

### Accounts

Expand Down
5 changes: 0 additions & 5 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,4 @@
https://steexp.com/trades
</loc>
</url>
<url>
<loc>
https://steexp.com/pools
</loc>
</url>
</urlset>
2 changes: 0 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ const Anchors = Loadable('Anchors')
const Assets = Loadable('Assets')
const Effects = Loadable('Effects')
const Exchanges = Loadable('Exchanges')
const InflationPools = Loadable('InflationPools')
const Ledger = Loadable('Ledger')
const Ledgers = Loadable('Ledgers')
const Operations = Loadable('Operations')
Expand Down Expand Up @@ -173,7 +172,6 @@ class App extends Component {
<Route path="/trades" component={Trades} />
<Route path="/txs" component={Transactions} />
<Route path="/tx/:id" component={Transaction} />
<Route path="/pools" component={InflationPools} />
<Route
path="/search/:id"
render={({match}) => {
Expand Down
10 changes: 0 additions & 10 deletions src/components/Account.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,16 +217,6 @@ const AccountSummaryPanel = ({
</a>
</Col>
</Row>
<Row>
<Col md={3}>
<FormattedMessage id="inflation" />:
</Col>
<Col md={9}>
{a.inflation_destination && (
<AccountLink account={a.inflation_destination} />
)}
</Col>
</Row>
<Row>
<Col md={3}>
<FormattedMessage id="subentry.count" />:
Expand Down
82 changes: 0 additions & 82 deletions src/components/InflationPools.js

This file was deleted.

5 changes: 0 additions & 5 deletions src/components/layout/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ class Header extends React.Component {
<FormattedMessage id="trades" />
</MenuItem>
</LinkContainer>
<LinkContainer to="/pools">
<MenuItem>
<FormattedMessage id="inflation.pools" />
</MenuItem>
</LinkContainer>
</NavDropdown>
</Nav>
</Navbar.Collapse>
Expand Down
1 change: 0 additions & 1 deletion src/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"home.domain": "Home Domain",

"inflation": "Inflation Destination",
"inflation.pools": "Inflation Pools",
"invalid.account": "Account is invalid",
"issued": "issued",
"issuer": "Issuer",
Expand Down
16 changes: 5 additions & 11 deletions src/languages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"csv-export.no-records": "没有数据可供获取",
"csv-export.fetching": "获取中…",
"csv-export.fetched": "已获取 {count} 条数据。",
"csv-export.limit-exceeded":
"您已达到导出 {count} 条数据的上限。还有数据可以获取,但是为了防止浏览器因内存问题崩溃,我们不支持导出更多数据了。",
"csv-export.limit-exceeded": "您已达到导出 {count} 条数据的上限。还有数据可以获取,但是为了防止浏览器因内存问题崩溃,我们不支持导出更多数据了。",

"currency": "货币",

Expand All @@ -39,8 +38,7 @@

"error.cant.find": "找不到 \"{searchStr}\"",
"error.nothing.found": "\"{path}\"处没有内容",
"error.network":
"出现网络错误。检查您的网络连接,或者查看浏览器控制台的信息。",
"error.network": "出现网络错误。检查您的网络连接,或者查看浏览器控制台的信息。",
"error.unknown": "很抱歉,发生了一些错误... ",

"exchanges": "交易所",
Expand All @@ -59,7 +57,6 @@
"home.domain": "主域名",

"inflation": "增发地址",
"inflation.pools": "增发池",
"invalid.account": "无效的账号",
"issued": "issued",
"issuer": "发行方",
Expand Down Expand Up @@ -114,12 +111,9 @@
"operation.manage.data.remove": "删除键值{name}",
"operation.manage.data.set": "设置键值{name}",
"operation.manage.data.set.to": ":{value}",
"operation.offer.remove":
"撤销挂单: 卖出 {sellingAsset} 买入 {buyingAsset} @ {price}",
"operation.offer.sell":
"新挂单: {amount} 卖出 {sellingAsset} 买入 {buyingAsset} @ {price}",
"operation.offer.update":
"更新挂单: {amount} 卖出 {sellingAsset} 买入 {buyingAsset} @ {price}",
"operation.offer.remove": "撤销挂单: 卖出 {sellingAsset} 买入 {buyingAsset} @ {price}",
"operation.offer.sell": "新挂单: {amount} 卖出 {sellingAsset} 买入 {buyingAsset} @ {price}",
"operation.offer.update": "更新挂单: {amount} 卖出 {sellingAsset} 买入 {buyingAsset} @ {price}",
"operation.options.set": "设置选项: [{options}]",
"operation.options.set.clear.flags_s": "清除标志: {value}",
"operation.options.set.set.flags_s": "设置标志: {value}",
Expand Down

0 comments on commit ac8807b

Please sign in to comment.