what2watch/templates/watch-search-result.html

20 lines
687 B
HTML
Raw Normal View History

2023-12-31 00:59:27 +00:00
<tr id="watchlist-item-{{watch.id}}">
<td><span class="watchtitle"><a href="/watch/{{watch.id}}">{{watch.title}}</a></span></td>
2024-01-16 00:37:38 +00:00
<td><span>
{% match watch.metadata_url %}
{% when Some with (mdurl) %}
<a href="{{ mdurl }}">{{ mdurl }}</a>
{% when None %}
{% endmatch %}
</span>
</td>
2023-12-31 00:59:27 +00:00
<td>{{watch.kind}}</td>
<td> {% call m::get_or_default(watch.year(), "when??") -%}</td>
<td>
2024-01-01 20:19:04 +00:00
<span id="add-watch-{{watch.id}}">
<span hx-get="/watch/status/{{watch.id}}" hx-target="this" hx-trigger="load, reveal"
hx-swap="outerHTML">???</span>
2024-01-01 20:19:04 +00:00
</span>
</td>
2023-12-31 00:59:27 +00:00
</tr>