mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 09:21:25 +00:00
Staff is more important then ref and caster on posts.
This commit is contained in:
parent
abad7ff5f6
commit
f28ffce6aa
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
||||||
<% if post.user.admin?%>
|
<% if post.user.admin?%>
|
||||||
<dt><%= namelink Group.find(Group::ADMINS) %></dt>
|
<dt><%= namelink Group.find(Group::ADMINS) %></dt>
|
||||||
<dd><%= post.user.groupers.where(:group_id => Group::ADMINS).first.task %></dd>
|
<dd><%= post.user.groupers.where(:group_id => Group::ADMINS).first.task %></dd>
|
||||||
|
<% elsif post.user.staff?%>
|
||||||
|
<dt><%= namelink Group.find(Group::STAFF) %></dt>
|
||||||
|
<dd><%= post.user.groupers.where(:group_id => Group::STAFF).first.task %></dd>
|
||||||
<% elsif post.user.caster?%>
|
<% elsif post.user.caster?%>
|
||||||
<dt><%= namelink Group.find(Group::CASTERS) %></dt>
|
<dt><%= namelink Group.find(Group::CASTERS) %></dt>
|
||||||
<dd><%= post.user.groupers.where(:group_id => Group::CASTERS).first.task %></dd>
|
<dd><%= post.user.groupers.where(:group_id => Group::CASTERS).first.task %></dd>
|
||||||
|
|
Loading…
Reference in a new issue