From 04e331f4e5d65dda3a3edeee7e73c471fe13a0a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Mon, 21 Sep 2015 15:57:27 +0200 Subject: [PATCH] hide additional files when not defined and already loaned to whitelabel customer --- .../ikonotv_artist_details_form.js | 12 ++++++++---- .../ikonotv_artwork_details_form.js | 18 ++++++++++++------ 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/js/components/whitelabel/wallet/components/ikonotv/ascribe_forms/ikonotv_artist_details_form.js b/js/components/whitelabel/wallet/components/ikonotv/ascribe_forms/ikonotv_artist_details_form.js index 1fe5016d..d198c7dd 100644 --- a/js/components/whitelabel/wallet/components/ikonotv/ascribe_forms/ikonotv_artist_details_form.js +++ b/js/components/whitelabel/wallet/components/ikonotv/ascribe_forms/ikonotv_artist_details_form.js @@ -101,7 +101,8 @@ let IkonotvArtistDetailsForm = React.createClass({ {heading} + label={getLangText('Artist Website')} + hidden={this.props.disabled && !this.props.piece.extra_data.artist_website}> + label={getLangText('Website of related Gallery, Museum, etc.')} + hidden={this.props.disabled && !this.props.piece.extra_data.gallery_website}> + label={getLangText('Additional Websites/Publications')} + hidden={this.props.disabled && !this.props.piece.extra_data.additional_websites}> + label={getLangText('Short text about the Artist')} + hidden={this.props.disabled && !this.props.piece.extra_data.conceptual_overview}> + label={getLangText('Medium')} + hidden={this.props.disabled && !this.props.piece.extra_data.medium}> + label={getLangText('Size/Duration')} + hidden={this.props.disabled && !this.props.piece.extra_data.size_duration}> + label={getLangText('Copyright')} + hidden={this.props.disabled && !this.props.piece.extra_data.copyright}> + label={getLangText('Courtesy of')} + hidden={this.props.disabled && !this.props.piece.extra_data.courtesy_of}> + label={getLangText('Copyright of Photography')} + hidden={this.props.disabled && !this.props.piece.extra_data.copyright_of_photography}> + label={getLangText('Additional Details about the artwork')} + hidden={this.props.disabled && !this.props.piece.extra_data.additional_details}>