mirror of
https://github.com/netfun2000/hipudding-teslamate.git
synced 2026-02-27 09:44:28 +08:00
* Upgrade to phoenix 1.7.0 The minimal changes necessary to compile the application * Import Phoenix.Component instead of LiveView * Fix compilation warnings * mix format * Update tests to trim newline characters * mix gettext.extract --merge * style: correct linting * rebuild gettext * fix: correct spacing before unit for energy added * fix: use unicode character for whitespace * fix: spacing with witespace * fix: use numeric value for charge_energy_added in charging test * fix: avoid warning about unsued function, which is actually used in plug * fix: use whitespace in test before charge_energy_added --------- Co-authored-by: JakobLichterfeld <jakob-lichterfeld@gmx.de>
7 lines
226 B
Plaintext
7 lines
226 B
Plaintext
<%= for summary <- @summaries do %>
|
|
<%= live_render(@socket, TeslaMateWeb.CarLive.Summary,
|
|
id: "car_#{summary.car.id}",
|
|
session: %{"summary" => summary, "settings" => @settings, "locale" => @locale}
|
|
) %>
|
|
<% end %>
|