You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.8 KiB
38 lines
1.8 KiB
{% extends sonata_block.templates.block_base %}
|
|
|
|
{% block block %}
|
|
{% block stepsprogreso %}
|
|
<div class="box">
|
|
<div class="box-body">
|
|
<table class="table table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
{% for key,bussines in bussiness %}
|
|
<td style="width:25%">
|
|
<div class="progress progress-xs">
|
|
<div class="progress-bar progress-bar-yellow" style="width:{% if bussines == app.user.getBussinessStage() %}100{% else %}0{% endif %}%">
|
|
</div>
|
|
</div>
|
|
</td>
|
|
{% endfor %}
|
|
</tr>
|
|
<tr>
|
|
{% for key,bussines in bussiness %}
|
|
{% if key == 0 %}
|
|
{% set bussinessTitle = "Ideation Stage"|trans({}) %}
|
|
{% elseif key == 1 %}
|
|
{% set bussinessTitle = "Early-Stage"|trans({}) %}
|
|
{% elseif key == 2 %}
|
|
{% set bussinessTitle = "Growth"|trans({}) %}
|
|
{% elseif key == 3 %}
|
|
{% set bussinessTitle = "Scale"|trans({}) %}
|
|
{% endif%}
|
|
<td style="text-align: center">{{ bussinessTitle |trans({}, 'dashboard') }} </td>
|
|
{% endfor %}
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% endblock %}
|