elements-display-list.adp

Delivered as text/html

Related Files

[ hide source ] | [ make this the default ]

File Contents

<if @admin_p;literal@ true>
<if @ancestor_rel_type@ eq membership_rel>
    <multiple name="possible_member_states">

        <if @possible_member_states.rownum@ gt 1>
            &nbsp;|&nbsp;
        </if>

        <if @member_state@ ne @possible_member_states.val@>
            <a href="@possible_member_states.url@">@possible_member_states.label@</a>
        </if><else>
            <strong>@possible_member_states.label@</strong>
        </else>

    </multiple>
</if>
</if>

<if @rels:rowcount;literal@ eq 0>
<ul>
  <li>(none)</li>
</ul>
</if>
<else>
<ol>
 <multiple name="rels">
  <li> <a href="../relations/one?rel_id=@rels.rel_id@">@rels.element_name@</a>
  <if @delete_p;literal@ true>
    (<a href="../relations/remove?rel_id=@rels.rel_id@&amp;return_url=@return_url_enc@">remove</a>)
  </if>
  </li>
 </multiple>
</ol>
</else>