diff --git a/assets/css/PostText.css b/assets/css/PostText.css index 86c23e5..0180a3a 100644 --- a/assets/css/PostText.css +++ b/assets/css/PostText.css @@ -13,7 +13,7 @@ border-collapse: collapse; } -.thread .id, .remark .id { +.thread .id, .remark .id, .thread .flag, nav .login { float: right; } diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 0578d91..4e7483d 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -10,10 +10,12 @@
<%= link_to List => threads_list => {list_page => 1} %> <%= link_to New => 'post_thread' %> - <% unless (is_mod) { =%> - <%= link_to Login => 'mod_login' %> - <% } =%> <%= link_to RSS => threads_feed => {format => 'rss'} %> + <% unless (is_mod) { =%> + + <%= link_to Login => 'mod_login' %> + + <% } =%>
<% if (is_mod) { =%>
diff --git a/templates/remark/create.html.ep b/templates/remark/create.html.ep index eadeb68..0dd1b7b 100644 --- a/templates/remark/create.html.ep +++ b/templates/remark/create.html.ep @@ -44,7 +44,10 @@

Last Remark

- +

<%= $last_remark->{'date'} %>

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

<%= $last_remark->{'body'} %>

diff --git a/templates/thread/by_id.html.ep b/templates/thread/by_id.html.ep index 1775f54..b585d38 100644 --- a/templates/thread/by_id.html.ep +++ b/templates/thread/by_id.html.ep @@ -33,7 +33,7 @@

<%= $remark->{'date'} %>

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

<%= $remark->{'body'} %>

-
diff --git a/templates/thread/by_page.html.ep b/templates/thread/by_page.html.ep index ce7e36f..7521175 100644 --- a/templates/thread/by_page.html.ep +++ b/templates/thread/by_page.html.ep @@ -8,24 +8,25 @@ <%= link_to "#$thread->{'id'}", single_thread => {thread_id => $thread->{'id'}} %> -

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

+

+ <%= link_to single_thread => {thread_id => $thread->{'id'}}, begin %> + <%= $thread->{'title'} %> + <% end %> +

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

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

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

-