Changeset 0000e70 in sicp
- Timestamp:
- Jun 17, 2015, 10:31:56 AM (9 years ago)
- Branches:
- master
- Children:
- 08521269
- Parents:
- a495b78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/simulacion/templates/cadena_productiva.html
r4f7f355 r0000e70 18 18 {% trans 'Niveles Aguas Arriba' %} 19 19   20 <span id="narriba" class="badge badge-info fuente-10"> 1</span>20 <span id="narriba" class="badge badge-info fuente-10">{{ narriba|length }}</span> 21 21 </div> 22 22 <div class="col-xs-3 col-sm-3 col-md-3"> 23 23 {% trans 'Niveles Aguas Abajo' %} 24 24   25 <span id="nabajo" class="badge badge-info fuente-10"> 1</span>25 <span id="nabajo" class="badge badge-info fuente-10">{{ nabajo|length }}</span> 26 26 </div> 27 27 <div class="col-xs-3 col-sm-3 col-md-3"> 28 28 {% trans 'Año de Registro' %} 29 29   30 <span id="anho" class="badge badge-info fuente-10"> 2015</span>30 <span id="anho" class="badge badge-info fuente-10">{{ anho }}</span> 31 31 </div> 32 32 <div class="col-xs-3 col-sm-3 col-md-3"> … … 153 153 var tree = [ 154 154 { 155 text: node_raiz+" ({% trans 'Atráz' %})", 156 state: { expanded: false }, 157 nodes: [ 158 {% for a in arc %} 159 {% if a.attrib.tgt == '0' %} 160 {% with n=node|access:a.attrib.src ax=a %} 161 { 162 text: "{{ n.attrib.company_rif }} {{ n.attrib.company_name }} - {{ n.attrib.product_name }}", 163 {%include "tree_view_up_template.html" %} 164 }, 165 {% endwith %} 166 {% endif %} 167 {% endfor %} 168 ] 169 }, 170 { 155 171 text: node_raiz+" ({% trans 'Adelante' %})", 156 172 state: { expanded: false }, … … 162 178 text: "{{ n.attrib.company_rif }} {{ n.attrib.company_name }} - {{ n.attrib.product_name }}", 163 179 {% include "tree_view_down_template.html" %} 164 },165 {% endwith %}166 {% endif %}167 {% endfor %}168 ]169 },170 {171 text: node_raiz+" ({% trans 'Atráz' %})",172 state: { expanded: false },173 nodes: [174 {% for a in arc %}175 {% if a.attrib.tgt == '0' %}176 {% with n=node|access:a.attrib.src ax=a %}177 {178 text: "{{ n.attrib.company_rif }} {{ n.attrib.company_name }} - {{ n.attrib.product_name }}",179 {%include "tree_view_up_template.html" %}180 180 }, 181 181 {% endwith %}
Note: See TracChangeset
for help on using the changeset viewer.