From 21c84774c827893215b5307b9036e4f28b3e9e90 Mon Sep 17 00:00:00 2001 From: vrde Date: Tue, 13 Oct 2015 17:29:53 +0200 Subject: [PATCH] Add document title for wallets --- .../whitelabel/wallet/components/cc/cc_register_piece.js | 2 ++ .../cyland/ascribe_detail/cyland_piece_container.js | 3 +++ .../whitelabel/wallet/components/cyland/cyland_landing.js | 3 +++ .../whitelabel/wallet/components/cyland/cyland_piece_list.js | 3 +++ .../wallet/components/cyland/cyland_register_piece.js | 3 +++ .../ikonotv/ascribe_detail/ikonotv_piece_container.js | 2 ++ .../components/ikonotv/ikonotv_contract_notifications.js | 5 ++++- .../whitelabel/wallet/components/ikonotv/ikonotv_landing.js | 3 +++ .../wallet/components/ikonotv/ikonotv_piece_list.js | 3 +++ 9 files changed, 26 insertions(+), 1 deletion(-) diff --git a/js/components/whitelabel/wallet/components/cc/cc_register_piece.js b/js/components/whitelabel/wallet/components/cc/cc_register_piece.js index fe59f819..d6107ff6 100644 --- a/js/components/whitelabel/wallet/components/cc/cc_register_piece.js +++ b/js/components/whitelabel/wallet/components/cc/cc_register_piece.js @@ -8,6 +8,7 @@ import LicenseActions from '../../../../../actions/license_actions'; import LicenseStore from '../../../../../stores/license_store'; import { getLangText } from '../../../../../utils/lang_utils'; +import { setDocumentTitle } from '../../../../../utils/dom_utils'; import { mergeOptions } from '../../../../../utils/general_utils'; let CCRegisterPiece = React.createClass({ @@ -81,6 +82,7 @@ let CCRegisterPiece = React.createClass({ }, render() { + setDocumentTitle('Register a new piece'); return (
diff --git a/js/components/whitelabel/wallet/components/cyland/cyland_piece_list.js b/js/components/whitelabel/wallet/components/cyland/cyland_piece_list.js index b601f562..0dec777d 100644 --- a/js/components/whitelabel/wallet/components/cyland/cyland_piece_list.js +++ b/js/components/whitelabel/wallet/components/cyland/cyland_piece_list.js @@ -9,6 +9,7 @@ import UserStore from '../../../../../stores/user_store'; import CylandAccordionListItem from './ascribe_accordion_list/cyland_accordion_list_item'; import { getLangText } from '../../../../../utils/lang_utils'; +import { setDocumentTitle } from '../../../../../utils/dom_utils'; let CylandPieceList = React.createClass({ @@ -34,6 +35,8 @@ let CylandPieceList = React.createClass({ }, render() { + setDocumentTitle(getLangText('Collection')); + return (
0) { @@ -192,4 +195,4 @@ let IkonotvContractNotifications = React.createClass({ } }); -export default IkonotvContractNotifications; \ No newline at end of file +export default IkonotvContractNotifications; diff --git a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_landing.js b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_landing.js index 43d2d803..0758d6a9 100644 --- a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_landing.js +++ b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_landing.js @@ -10,6 +10,7 @@ import UserStore from '../../../../../stores/user_store'; import UserActions from '../../../../../actions/user_actions'; import { getLangText } from '../../../../../utils/lang_utils'; +import { setDocumentTitle } from '../../../../../utils/dom_utils'; let IkonotvLanding = React.createClass({ @@ -54,6 +55,8 @@ let IkonotvLanding = React.createClass({ }, render() { + setDocumentTitle('ikonoTV'); + return (
diff --git a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_piece_list.js b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_piece_list.js index 988ddf36..80d38444 100644 --- a/js/components/whitelabel/wallet/components/ikonotv/ikonotv_piece_list.js +++ b/js/components/whitelabel/wallet/components/ikonotv/ikonotv_piece_list.js @@ -9,6 +9,7 @@ import UserStore from '../../../../../stores/user_store'; import IkonotvAccordionListItem from './ascribe_accordion_list/ikonotv_accordion_list_item'; import { getLangText } from '../../../../../utils/lang_utils'; +import { setDocumentTitle } from '../../../../../utils/dom_utils'; let IkonotvPieceList = React.createClass({ @@ -34,6 +35,8 @@ let IkonotvPieceList = React.createClass({ }, render() { + setDocumentTitle(getLangText('Register a new piece')); + return (