Set and load display names in frontend

This commit is contained in:
Alex Ling
2020-04-03 12:07:09 +00:00
parent 51d19328be
commit 75edfcdb5b
6 changed files with 103 additions and 12 deletions

View File

@@ -36,7 +36,7 @@
<%- if t.entries.size > 0 -%>
<div class="uk-card-badge uk-label"><%= (percentage[i] * 100).round(1) %>%</div>
<%- end -%>
<h3 class="uk-card-title break-word" data-title="<%= t.title.gsub("\"", "&quot;") %>"><%= t.title %></h3>
<h3 class="uk-card-title break-word" data-title="<%= t.display_name.gsub("\"", "&quot;") %>"><%= t.display_name %></h3>
<p><%= t.size %> entries</p>
</div>
</div>