summaryrefslogtreecommitdiffstats
path: root/templates/html/htmlmemdecls.tpl
blob: 846c8f3e8f4583310fce15f338e9032bcb0c6b0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{# inputs: memberListInfo or memberGroupInfo #}
{% if memberListInfo %}
  {% if memberListInfo.members|length>0 or memberListInfo.memberGroups|length>0 %}
    <table class="memberdecls">
    {# section header #}
      <tr class="heading"><td colspan="2"><h2 class="groupheader">{{ memberListInfo.title }}<a name="{{ memberListInfo.anchor }}"></a></h2></td></tr>
    {% if memberListInfo.subtitle %}
      <tr><td class="ititle" colspan="2">{{ memberListInfo.subtitle }}</td></tr>
    {% endif %}
    {# normal members #}
    {% with inheritId='' anonymousNestingLevel=0 %}
      {% for member in memberListInfo.members %}
        {% include 'htmlmemdecl.tpl' %}
      {% endfor %}
    {% endwith %}
    {# grouped members #}
    {% for memgroup in memberListInfo.memberGroups %}
      {% with memberListInfo=memgroup inheritId='' anonymousNestingLevel=0 %}
        {% if memberListInfo.title!='[NOHEADER]' %}
          <tr><td colspan="2"><div class="groupHeader">{{ memberListInfo.title }}</div></td></tr>
          {% if memberListInfo.docs %}
            <tr><td colspan="2"><div class="groupText">{{ memberListInfo.docs }}</div></td></tr>
          {% endif %}
        {% endif %}
        {% for member in memberListInfo.members %}
          {% include 'htmlmemdecl.tpl' %}
        {% endfor %}
      {% endwith %}
    {% endfor %}
    {# inherited members #}
    {% if memberListInfo.inherited %}
      {% for info in memberListInfo.inherited %}
        {% include 'htmlmeminherit.tpl' %}
      {% endfor %}
    {% endif %}
    </table>
  {% endif %}
{% endif %}