{% load mathfilters %}
|
{% with line_list=total_lines.pop units=units.pop w=38 h=18 f=10 %}
{% for unit in units %}
{% if 1 == 2 %} {# 상층부 1~ 호라인 등 공백 로직 구현 #}
{% endif %}
{% if unit.floor_no == 1 %} {# 피로티 로직 구현 #}
{% with lp=line_list.pop %}
{% with fl=forloop.counter|sub:lp fu=forloop.counter|sub:unit.bldg_line %}
{% with n=fl|sub:fu %}
{% if n > 0 %}
{% ifchanged n %}
{% for i in 'a'|mul:n %}
{% endfor %}
{% endifchanged %}
{% endif %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endif %}
{{ unit.name }}
|