add reputation view and improve queries
This commit is contained in:
3
app/views/wow_characters/_standing.html.erb
Normal file
3
app/views/wow_characters/_standing.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="progress">
|
||||
<div class="progress-bar" role="progressbar" style="width: <%= reput_pourcentage(standing, tier) %>%" aria-valuenow="<%= standing.raw %>" aria-valuemin="<%= tier.min_value %>" aria-valuemax="<%= tier.max_value %>"><%= tier.name %></div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user