2024-08-08 07:22:31 +00:00
|
|
|
% layout 'default',
|
|
|
|
% title => $subf_title . ' - ' . $self->board_name;
|
2023-05-17 04:18:25 +00:00
|
|
|
% my @thread_list = @{stash('thread_list')};
|
|
|
|
|
|
|
|
<% my $thread_item = begin %>
|
|
|
|
% my $_thread_id = shift; my $_thread_title = shift;
|
|
|
|
<div class=" thread-item thread-<%= $_thread_id %>">
|
2024-08-08 07:22:31 +00:00
|
|
|
<a href="/thread/<%= $_thread_id %>"></a>
|
2023-05-17 04:18:25 +00:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
|
2024-08-08 07:22:31 +00:00
|
|
|
<a href="/"><%= $self->board_name %></a> » <%= $cat_title %> »
|
|
|
|
<%= $subf_title %>
|
2023-05-17 04:18:25 +00:00
|
|
|
<br /><br />
|
|
|
|
|
|
|
|
<% if (! @thread_list) { %>
|
|
|
|
Oops! Looks like there's no threads here yet. Maybe you'd
|
2024-08-19 07:39:50 +00:00
|
|
|
like to <a href="<%= $subf_id %>/new/">make one?</a>
|
2023-05-17 04:18:25 +00:00
|
|
|
<% } else {
|
|
|
|
foreach my $thread_id (@thread_list) { %>
|
|
|
|
<%= $thread_item->(
|
2024-08-08 07:22:31 +00:00
|
|
|
$thread_id,
|
|
|
|
$self->schema->resultset('Threads')->
|
|
|
|
title_from_id($thread_id)) %>
|
2023-05-17 04:18:25 +00:00
|
|
|
<% }} %>
|