%+header%>
| <%:Name%> | <%:URL%> | <%:Nodes%> | <%:Updated%> | <%:Status%> | <%:Subscription link%> | <%:Actions%> | |
|---|---|---|---|---|---|---|---|
|
<%=luci.util.pcdata(it.name or "")%>
<% if it.cron_enable == true or it.cron_enable == "1" then %>
<%:Schedule:%> <%=luci.util.pcdata(it.cron_time or "")%>
<% end %>
|
<% if it.combo then local names = {} if type(it.sources) == "table" then for _, sid in ipairs(it.sources) do names[#names + 1] = name_by_id[sid] or sid end end %>[<%:Combination%>] <%=luci.util.pcdata(table.concat(names, " + "))%><% elseif it["local"] then %>[<%:Local%>]<% else %><%=luci.util.pcdata(it.url or "")%><% end %> | <%=it.node_count or 0%> | <%=it.last_update and os.date("%Y-%m-%d %H:%M", it.last_update) or "-"%> | <%=luci.util.pcdata(status_text or "")%> |
<%
if fmt_disabled then
%><%:Update and parse nodes before choosing a format%><%
else
%><%:Pick a format to generate the subscription link; you can switch formats at any time%><%
end
%>
|
<% if it["local"] then %> <% else %> <% end %> <% if it.combo then %> <%:Edit%> <% elseif it["local"] then %> <%:Edit%> <% else %> <%:Edit%> <% end %> <%:Nodes%> <%:Output%> | |
| <%:No subscriptions yet.%> | |||||||