summaryrefslogtreecommitdiffstats
path: root/templates/html/htmldeclcomp.tpl
blob: 4bd99d2a76c1852fac57bd28f81038a3f6566323 (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
{# inputs: list, label, title, local #}
{% if list %}
  <table class="memberdecls"><tr class="heading"><td colspan="2">
  <h2 class="groupheader"><a name="{{ label }}"></a>{{ title }}</h2></td></tr>
  {% for nc in list %}
    <tr class="memitem:{{ nc.anchor }}">
    <td class="memItemLeft" align="right" valign="top">{% if nc.compoundType %}{{ nc.compoundType }}&#160;{% endif %}</td>
    <td class="memItemRight" valign="bottom">
    {% if local %}
      {% with obj=nc text=nc.bareName %}
        {% include 'htmlobjlink.tpl' %}
      {% endwith %}
    {% else %}
      {% with obj=nc text=nc.name %}
        {% include 'htmlobjlink.tpl' %}
      {% endwith %}
    {% endif %}
    </td></tr>
    {# brief description #}
      {% if nc.brief %}
        <tr class="memdesc:{{ nc.anchor }}"><td class="mdescLeft">&#160;</td><td class="mdescRight">
        {{ nc.brief }}
        {% if nc.hasDetails %}
          {# TODO: link to group if member is grouped #}
          <a href="{{ page.relPath }}{{ nc.fileName }}{{ config.HTML_FILE_EXTENSION}}{% if nc.anchor %}#{{ nc.anchor }}{% endif %}">{{ tr.more }}</a>
        {% endif %}
        <br/></td></tr>
      {% endif %}
    <tr class="separator:{{ nc.anchor}}"><td class="memSeparator" colspan="2">&#160;</td></tr>
  {% endfor %}
  </table>
{% endif %}