<?php

	/**
	 * Template für die Integration des CrowdFunding Produktes
	 */

?>
<div class="wpsg_mod_funding_progress">

	<div class="wpsg_mod_funding_label">
		<strong><?php echo __('Status der Finanzierung', 'wpsg'); ?>:</strong>&nbsp;<?php echo $this->view['wpsg_mod_funding']['stateLabel']; ?>
	</div>

	<div class="wpsg_mod_funding_state">
		<div class="bar"><div class="value wpsg_mod_funding_state_value" data-wpsg-funding-width="<?php echo ceil($this->view['wpsg_mod_funding']['currentFundingCount'] / $this->view['wpsg_mod_funding']['maxFundingCount'] * 100); ?>"></div></div>
		<div class="value"><?php echo $this->view['wpsg_mod_funding']['currentFundingCount'].'/'.$this->view['wpsg_mod_funding']['maxFundingCount']; ?></div>
	</div>

</div>