Skip to content

Commit

Permalink
Merge pull request #190 from MickWang/master
Browse files Browse the repository at this point in the history
add user policy
  • Loading branch information
MickWang authored Aug 16, 2019
2 parents 5591872 + 505b3b6 commit 29c41d5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
4 changes: 3 additions & 1 deletion src/common/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,8 @@ Within their 50% share each consensus node will receive their share according to
},
dapps: {
dapps: 'DApps',
sesameSeed: 'Sesame Seed'
sesameSeed: 'Sesame Seed',
notification: 'Notification',
userPolicy: 'You will be redirected to the third party dApp. Use of the third party dApp will be subject to their User Agreement and Privacy Policy. You will be liable to the third party dApp only.'
}
}
4 changes: 3 additions & 1 deletion src/common/lang/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,8 @@ export default {
},
dapps: {
dapps: 'DApps',
sesameSeed: '芝麻籽'
sesameSeed: '芝麻籽',
notification: '注意',
userPolicy: '您将跳转至第三方dApp页面,在第三方dApp上的使用行为将适用该第三方dApp的《用户协议》和《隐私政策》,由该第三方dApp直接并单独向您承担责任'
}
}
Binary file modified src/renderer/assets/dapps-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/renderer/assets/dapps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions src/renderer/components/Dapps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ export default {
};
},
mounted: function() {
/* this.$store.dispatch("showLoadingModals");
setTimeout(() => {
this.$store.dispatch("hideLoadingModals");
}, 8000); */
let that = this;
setInterval(() => {
that.getImageData();
}, this.interval);
this.$confirm({
title: this.$t('dapps.notification'),
content: this.$t('dapps.userPolicy'),
onOk() {},
onCancel: () => {
this.$router.back();
}
})
},
computed: {},
beforeDestroy() {
Expand Down

0 comments on commit 29c41d5

Please sign in to comment.