diff --git a/app/controllers/dashboard/contributions/show.js b/app/controllers/dashboard/contributions/show.js new file mode 100644 index 0000000..ef7f280 --- /dev/null +++ b/app/controllers/dashboard/contributions/show.js @@ -0,0 +1,12 @@ + +import Controller from '@ember/controller'; +import { computed } from '@ember/object'; +import config from 'kredits-web/config/environment'; + +export default Controller.extend({ + + ipfsGatewayUrl: computed(function() { + return config.ipfs.gatewayUrl; + }).volatile() + +}); diff --git a/app/templates/dashboard/contributions/show.hbs b/app/templates/dashboard/contributions/show.hbs index 3dab7ec..27d6307 100644 --- a/app/templates/dashboard/contributions/show.hbs +++ b/app/templates/dashboard/contributions/show.hbs @@ -42,7 +42,7 @@ kredits will be issued.
- {{link-to "Re-submit contribution" "signup" class="button small green"}}. + {{link-to "Re-submit contribution …" "signup" class="button small green"}}.
{{/if}} @@ -51,7 +51,7 @@{{#if model.ipfsHash}} - Inspect IPFS data