Skip to content

Commit

Permalink
Merge pull request bitshares#1310 from gibbsfromncis/450
Browse files Browse the repository at this point in the history
bitshares#450 Add transaction id to account activity
  • Loading branch information
svk31 authored Mar 13, 2018
2 parents 0c07ccb + 0f51932 commit 04b92f1
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/locales/locale-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
"propose": "vorschlagen",
"cancel": "abbrechen",
"account": {
"transactions": {
"id": "ID"
},
"search": "Search for an account",
"contacts": "Kontakte",
"in_open": "This is the amount of %(asset)s you have in open orders.",
Expand Down
1 change: 1 addition & 0 deletions app/assets/locales/locale-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
"blacklist_authorities": "Blacklist authority"
},
"transactions": {
"id": "ID",
"type": "Type",
"info": "Info",
"time": "Time"
Expand Down
3 changes: 3 additions & 0 deletions app/assets/locales/locale-es.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@
"propose": "Propose",
"cancel": "Cancel",
"account": {
"transactions": {
"id": "ID"
},
"search": "Search for an account",
"new_user": "Nuevo usuario?",
"existing_user": "Usuario existente",
Expand Down
3 changes: 3 additions & 0 deletions app/assets/locales/locale-fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
"done_label": "Fait"
},
"account": {
"transactions": {
"id": "ID"
},
"search": "Search for an account",
"accounts": "Comptes",
"contacts": "Contacts",
Expand Down
3 changes: 3 additions & 0 deletions app/assets/locales/locale-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@
"propose": "Proponi",
"cancel": "Annulla",
"account": {
"transactions": {
"id": "ID"
},
"search": "Search for an account",
"new_user": "Nuovo utente?",
"existing_user": "Utente esistente",
Expand Down
1 change: 1 addition & 0 deletions app/assets/locales/locale-ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@
"blacklist_authorities": "ブラックリスト権限"
},
"transactions": {
"id": "ID",
"type": "種類",
"info": "情報",
"time": "時間"
Expand Down
3 changes: 3 additions & 0 deletions app/assets/locales/locale-ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@
"done_label": "완료"
},
"account": {
"transactions": {
"id": "ID"
},
"search": "Search for an account",
"in_open": "This is the amount of %(asset)s you have in open orders.",
"in_open_value":
Expand Down
3 changes: 3 additions & 0 deletions app/assets/locales/locale-zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
"propose": "提议",
"cancel": "取消",
"account": {
"transactions": {
"id": "ID"
},
"search": "Search for an account",
"new_user": "新用户?",
"existing_user": "老用户",
Expand Down
3 changes: 3 additions & 0 deletions app/components/Account/RecentTransactions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ class RecentTransactions extends React.Component {
.map(o => {
return (
<Operation
includeOperationId={true}
operationId={o.id}
style={alignLeft}
key={o.id}
op={o.op}
Expand Down Expand Up @@ -268,6 +270,7 @@ class RecentTransactions extends React.Component {
<table className={"table table-striped " + (compactView ? "compact" : "") + (this.props.dashboard ? " dashboard-table table-hover" : "")}>
<thead>
<tr>
<th className="column-hide-tiny" style={alignLeft}><Translate content="account.transactions.id" /></th>
<th className="column-hide-tiny" style={alignLeft}><Translate content="account.transactions.type" /></th>
<th style={alignLeft}><Translate content="account.transactions.info" /></th>
<th style={alignLeft}><Translate content="account.transactions.time" /></th>
Expand Down
7 changes: 7 additions & 0 deletions app/components/Blockchain/Operation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ class Row extends React.Component {

return (
<tr>
{this.props.includeOperationId ? (
<td style={{textAlign: "left"}}>
{this.props.operationId}
</td>
) : null}
{hideOpLabel ? null : (
<td
style={{textAlign: "left"}}
Expand Down Expand Up @@ -1302,6 +1307,8 @@ class Operation extends React.Component {

line = column ? (
<Row
operationId={this.props.operationId}
includeOperationId={this.props.includeOperationId}
block={block}
type={op[0]}
color={color}
Expand Down

0 comments on commit 04b92f1

Please sign in to comment.