{# view: MemberAdmin/Index @author Anusorn # make it able to notify/ban via link # make find goes to notify/ban # notify/ban render the form #}
# | {{ _('member_name_label') }} | {{ _('member_status') }} | {# operation #} |
---|---|---|---|
{{ item.member_id }} | {{ item.name }} | {{ item.status|capitalize }} | {% if item.status is 'active' %} {{ operation_link('notify', path('notify') ~ '/' ~ item._id, 'flag-o', 'warning') }} {{ operation_link('ban', path('ban') ~ '/' ~ item._id, 'user-times', 'danger') }} {% elseif item.status is 'suspended' %} {{ operation_link('watch_this_item', path('notified') ~ '/#' ~ item.message_id, 'eye') }} {% elseif item.status is 'banned' %} {{ operation_link('watch_this_item', path('banned') ~ '/#' ~ item.message_id, 'eye') }} {% endif %} |