diff --git a/assets/css/PostText.css b/assets/css/PostText.css index 7c6f65b..e26381e 100644 --- a/assets/css/PostText.css +++ b/assets/css/PostText.css @@ -1 +1,5 @@ .field-with-error {} + +.thread, .remark { + border-style: dotted; +} diff --git a/templates/post_remark.html.ep b/templates/post_remark.html.ep index ad7a6ac..ff5a8ed 100644 --- a/templates/post_remark.html.ep +++ b/templates/post_remark.html.ep @@ -7,7 +7,7 @@

<%= %$thread{'title'} %>

<%= %$thread{'date'} %>

<%= %$thread{'author'} %>
-

<%= $thread_body %>

+

<%= %$thread{'body'} %>

diff --git a/templates/thread_id.html.ep b/templates/thread_id.html.ep index 2270630..ab4f681 100644 --- a/templates/thread_id.html.ep +++ b/templates/thread_id.html.ep @@ -1,18 +1,20 @@ % layout 'main'; % title "View Thread - #$thread->{'id'}";

<%= title %>

-<% if (my $thread_body = %$thread{'body'}) { =%> -
-
-

<%= %$thread{'title'} %>

-

<%= %$thread{'date'} %>

-
<%= %$thread{'author'} %>
-

<%= $thread_body %>

-
-
-<% } =%> +
+
+

<%= %$thread{'title'} %>

+

<%= %$thread{'date'} %>

+
<%= %$thread{'author'} %>
+

<%= %$thread{'body'} %>

+
+
+ <% if (my $first_remark = @$remarks[0]) { =%>
+

Remarks

<% for my $remark (@$remarks) { =%>
#<%= %$remark{'id'} %> @@ -22,9 +24,10 @@
<% } =%>
- <% if ($last_page && $last_page != 1) { =%> - <% } %> <% } =%>