PageRenderTime 20ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/www/dsp/view-group-body.dsp

http://github.com/cgay/wiki
Unknown | 18 lines | 16 code | 2 blank | 0 comment | 0 complexity | c33acb08d0139bf439aaf8739ae0bc94 MD5 | raw file
 1<%dsp:taglib name="wiki"/>
 2
 3      <dsp:get name="group-description"/>
 4
 5      <h3>Members</h3>
 6      <dsp:when test="exists?" name="active-user">
 7        <dsp:loop over="group-members" context="page" var="user-name" header="<ul>" footer="</ul>">
 8          <li>
 9            <a href="<wiki:base/>/user/view/<dsp:get name='user-name' context='page'/>">
10            <dsp:get name="user-name" context="page"/></a>
11            <dsp:if-equal name1="user-name" name2="active-user">(you)</dsp:if-equal>
12            <dsp:if-equal name1="user-name" name2="group-owner">(group owner)</dsp:if-equal>
13          </li>
14        </dsp:loop>
15      </dsp:when>
16      <dsp:unless test="exists?" name="active-user">
17        You must login to view group members.
18      </dsp:unless>