Replace missed profileHash with ipfsHash
This commit is contained in:
@@ -14,8 +14,8 @@
|
|||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://testnet.etherscan.io/address/{{contributor.address}}">Inspect Ethereum transactions</a></li>
|
<li><a href="https://testnet.etherscan.io/address/{{contributor.address}}">Inspect Ethereum transactions</a></li>
|
||||||
{{#if contributor.profileHash}}
|
{{#if contributor.ipfsHash}}
|
||||||
<li><a href="https://ipfs.io/ipfs/{{contributor.profileHash}}">Inspect IPFS profile</a></li>
|
<li><a href="https://ipfs.io/ipfs/{{contributor.ipfsHash}}">Inspect IPFS profile</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</ul>
|
</ul>
|
||||||
{{#if contributor.showMetadata}}
|
{{#if contributor.showMetadata}}
|
||||||
|
|||||||
@@ -2,17 +2,24 @@ import computed from 'ember-computed';
|
|||||||
import EmberObject from 'ember-object';
|
import EmberObject from 'ember-object';
|
||||||
|
|
||||||
export default EmberObject.extend({
|
export default EmberObject.extend({
|
||||||
|
// Contract
|
||||||
id: null,
|
id: null,
|
||||||
|
// TODO: Should we rename it to account like in the contract?
|
||||||
address: null,
|
address: null,
|
||||||
name: null,
|
balance: 0,
|
||||||
|
isCore: false,
|
||||||
|
ipfsHash: null,
|
||||||
|
|
||||||
|
// IPFS
|
||||||
kind: null,
|
kind: null,
|
||||||
|
name: null,
|
||||||
url: null,
|
url: null,
|
||||||
github_username: null,
|
github_username: null,
|
||||||
github_uid: null,
|
github_uid: null,
|
||||||
wiki_username: null,
|
wiki_username: null,
|
||||||
profileHash: null,
|
ipfsData: '',
|
||||||
balance: 0,
|
|
||||||
isCore: false,
|
// Deprecated
|
||||||
isCurrentUser: false,
|
isCurrentUser: false,
|
||||||
|
|
||||||
avatarURL: computed('github_uid', function() {
|
avatarURL: computed('github_uid', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user