neiam
/lambent_ex
Lambent Aether 5
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
and the other two
349df56 · gmorell · 2022-12-13 02:33
Files changed
modified
lib/lambent_ex_web/live/links/index.html.heex
+5
−0
@@ -11,6 +11,11 @@
| 11 | 11 | </thead> |
| 12 | 12 | <tbody> |
| 13 | 13 | <!-- row 1 --> |
| 14 | + <%= if Enum.empty?(@links) do %> | |
| 15 | + <tr> | |
| 16 | + <th colspan="6">No links yet, create some using the + above</th> | |
| 17 | + </tr> | |
| 18 | + <% end %> | |
| 14 | 19 | <%= for {k,v} <- @links do %> |
| 15 | 20 | <tr> |
| 16 | 21 | <th><%= k %></th> |
modified
lib/lambent_ex_web/live/machines/index.html.heex
+5
−0
@@ -13,6 +13,11 @@
| 13 | 13 | </thead> |
| 14 | 14 | <tbody> |
| 15 | 15 | <!-- row 1 --> |
| 16 | + <%= if Enum.empty?(@machines) do %> | |
| 17 | + <tr> | |
| 18 | + <th colspan="6">No machines yet, Create some above</th> | |
| 19 | + </tr> | |
| 20 | + <% end %> | |
| 16 | 21 | <%= for {k,v} <- @machines do %> |
| 17 | 22 | <tr> |
| 18 | 23 | <th><%= k %></th> |
Parents: f33f6ec