diff --git a/code/views/station.etlua b/code/views/station.etlua new file mode 100644 index 0000000..06107c4 --- /dev/null +++ b/code/views/station.etlua @@ -0,0 +1,30 @@ +
+ <% for i, item in ipairs(airtimes) do %> +
+
+ " rel="ia_lightbox"> + "> + +
+
+
+ "><%= item.artist %> + - + "><%= item.track %> +
+

+ + <% if item.release then %><%= item.release %><% end %> + <% if item.label then %>| <%= item.label %><% end %> + <% if item.year then %>| <%= item.year %><% end %> + <% if item.country then %>| <%= item.country %><% end %> + <% if item.info_url then %><% if item.info_url:match("[^.]+$") == "jpg" then %>| <%= item.info_url %> + <% else %>| <%= item.info_url %><% end %> + <% end %> + +

+
+
+
+ <% end %> +