mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Staff is more important then ref and caster on posts.
This commit is contained in:
parent
f909212c45
commit
17e421235b
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
|||
<% if post.user.admin?%>
|
||||
<dt><%= namelink Group.find(Group::ADMINS) %></dt>
|
||||
<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?%>
|
||||
<dt><%= namelink Group.find(Group::CASTERS) %></dt>
|
||||
<dd><%= post.user.groupers.where(:group_id => Group::CASTERS).first.task %></dd>
|
||||
|
|
Loading…
Reference in a new issue