title = 'Команда'; $this->params['breadcrumbs'][] = $this->title; $this->registerCssFile('/css/teamitem.css'); if ($member->teamInterests) { $graph_js = " jQuery(function($) { $('#container').highcharts({ chart: { plotBackgroundColor: null, plotBorderWidth: null, height:280, width:432 }, tooltip: { //pointFormat: '{point.percentage:.1f}%', enabled: false }, plotOptions: { pie: { allowPointSelect: true, size:160, borderWidth: 0, cursor: 'pointer', dataLabels: { //distance: 30, //softConnector: false, // by default connectorColor: 'black', connectorPadding: 10, color: '#464646', enabled: true, format: '{point.name}: {point.percentage:.1f} %', style: { width:85 } } } }, series: [{ type: 'pie', name: '" . Yii::t( 'app', 'Interests' ) . "', data: ["; foreach ( $member->teamInterests as $interest ) { $graph_js .= " ['" . $interest->title . "', " . $interest->value . "],"; } $graph_js .= " ] }] }); });"; $this->registerJs( $graph_js, 3 ); } $this->registerJsFile('/js/teamitem/jquery.rating-2.0.min.js'); $this->registerJsFile('/js/teamitem/rating.js'); $this->registerJsFile('/js/teamitem/highcharts.js'); $this->registerJsFile('/js/teamitem/script.js'); ?>
= $member->job?>
= $skill->title?>
= $humor?>