| 12345678910111213141516171819 |
- <% layout("/sk/layout", { title: "stanice" }) %>
- <%~ include("/sk/panel/partials/navbar") %>
- <div>
- <h2>vaše stanice</h2>
- <% if (it.meteostanice?.length) { %>
- <ul>
- <% for (const meteostanica of it.meteostanice) { %>
- <li><a href="/panel/stations/<%= meteostanica.id %>"><%= meteostanica.name %></a></li>
- <% } %>
- </ul>
- <% } else { %>
- <p>žiadne stanice. :(</p>
- <% } %>
- <a href="/panel/stations/add">pridať</a>
- </div>
|