mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
use iolist
This commit is contained in:
parent
816e54fa12
commit
a98e268195
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ defmodule PhilomenaWeb.StatView do
|
|||
height = bar_height
|
||||
|
||||
content_tag :rect, width: bar_width, height: height, x: x, y: y, fill: "#000" do
|
||||
content_tag :title, "#{datum["key_as_string"]} - #{datum["doc_count"]} uploads"
|
||||
content_tag :title, do: [datum["key_as_string"], " - ", Integer.to_string(datum["doc_count"]), " uploads"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue