Ignore:
Timestamp:
01/15/14 14:38:19 (10 years ago)
Author:
BSanchezRZG
Message:

upgrade sort countries and aai

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CenterRegistry/trunk/templates/center/type_centers.html

    r2895 r4266  
    11{% extends "center/base.html" %}
     2{% load center_extra %}
     3
    24{% block "extrahead" %}
    35        <style type="text/css">
     
    1618<br>
    1719
    18 {% for key, value in centers.items%}
    19  {%  if  value  %}
    20         <a href="#{{ key }}"> {{ key }} </a> ,
    21  {% endif %}{% endfor %}
    22  
    23 {% for key, value in centers.items%}
    24  {%  if  value  %}
    25   <br> <a name="{{key}}"></a> <br>
    26   <h2> {{key}}</h2>
     20{% for type in group_list %}
     21        <a href="#{{ type }}"> {{ type }} </a> ,
     22  {% endfor %} 
     23
     24
     25{% for type in group_list %}   
     26<br> <a name="{{type}}"></a> <br>
     27  <h2> {{type}}</h2>
    2728       <table border=1 class="bgcolor1" cellspacing=0 cellpadding=6  width="90%" >
    2829        <tr>
     
    3637            <td class="col0"><b>Assessment</b></td>
    3738            <br> </tr>
    38            {% for center in value %}
    39            <tr>
     39    {% for center in centers|get_item:type %}
     40     <tr>
    4041        <td class="col2"> <a href="/centers/{{ center.id }}" >{{center.name}}</a></td>
    4142        <td class="col1"> {{center.repositorySystem}} </td>
     
    4445                                                {% for choice in center.clarinfed.all %}
    4546                                                 <tr> <td class="col0"> <a href="{{choice.MemberFed.webseite}}"> {{choice.MemberFed}}  </tr>
    46                                                 {% endfor %} </td>      </table></td>   
     47                                                {% endfor %} </td>
     48                                        </table></td>   
    4749        <td class="col1"> <table  border=0  cellspacing=0 cellpadding=6  width="100%" >
    4850                                        {% for choice in center.metadata.all %}
     
    5860    {% endfor %}
    5961 </table>       
    60  {% endif %}   
    6162{% endfor %}
     63
    6264 
    6365{% endblock %}
Note: See TracChangeset for help on using the changeset viewer.