Displays badge for official positions

This commit is contained in:
rgarcia
2016-06-20 21:08:49 +02:00
parent 51d688897a
commit 9e910a834b
10 changed files with 163 additions and 11 deletions

View File

@@ -15,7 +15,7 @@
</span>
<% end %>
<% if resource.author.official? %>
<% if resource.author.display_official_position_badge? %>
&nbsp;&bull;&nbsp;
<span class="label round level-<%= resource.author.official_level %>">
<%= resource.author.official_position %>