-
+ <% for my $link (@{$post_links}) { =%>
+
- <%= link_to $link, $link %> + <% } =%> +
diff --git a/README.md b/README.md index 815bacc..a4c4f52 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,9 @@ Run the tests locally (against development environment): ## TODOs +1. Show `bump_tally` and `remark_count` in single thread view +1. Rename `remark_count` to `remark_tally` +1. Redirect mod/admin back to hidden/flagged where it makes sense 1. CSS 1. "All new posts flagged" mode (require approval for new posts) 1. Tests for mod-only user? diff --git a/assets/css/PostText.css b/assets/css/PostText.css index f062871..1d90822 100644 --- a/assets/css/PostText.css +++ b/assets/css/PostText.css @@ -13,74 +13,10 @@ border-collapse: collapse; } -.thread .id, .remark .id, .thread .flag, nav .login { +.thread .id, .remark .id, nav .flag, nav .login { float: right; } -code { +pre { white-space: pre-wrap; } - -/* - * For the custom Markdown
<%= flash 'error' %>
@@ -49,8 +49,7 @@ <% } =%> <% if (flash 'info') { =%><%= flash 'info' %>
-<% } =%> -<% if (stash 'info') { =%> +<% } elsif (stash 'info') { =%><%= stash 'info' %>
<% } =%> <%= content =%> diff --git a/templates/moderator/flagged.html.ep b/templates/moderator/flagged.html.ep index f6aae75..f8b91ff 100644 --- a/templates/moderator/flagged.html.ep +++ b/templates/moderator/flagged.html.ep @@ -1,10 +1,12 @@ % layout 'default'; % title 'Flagged Posts';For mods only!!
diff --git a/templates/page/about.html.ep b/templates/page/about.html.ep index 9185688..3d585d8 100644 --- a/templates/page/about.html.ep +++ b/templates/page/about.html.ep @@ -1,12 +1,13 @@ % layout 'default'; % title 'About Post::Text';Post::Text is a textboard a bit like 2channel. You
- can post whatever you want anonymously just please mind the <%=
- link_to rules => 'rules_page' %>. Markdown is supported for
- formatting posts using the
+ Post::Text is a
+ textboard
+ a bit like 2channel. You can post whatever you want anonymously
+ just please mind the <%= link_to rules => 'rules_page' %>.
+ Markdown is supported for formatting posts using the
+
original implementation from The Daring Fireball. For example,
back-ticks are for inline code while indentation should
be used if you want an entire code bock: You can use an actual tab character or four spaces to indent.
Only Markdown is supported, HTML will be filtered
out. There is a button for users to 'flag' a post for review by a
+ There is a button for users to 'flag' a post for review by a
moderator. If you need further assistance you can reach out to the
webmaster. There is
also a 'bump' button you're free to use and abuse to your heart's
@@ -36,5 +37,5 @@ This is correct for a multi-line code block:
email client you can check out the
<%= link_to 'RSS feed', threads_feed => {format => 'rss'} %>. Click 'New' in the top navigation bar to start a new thread and
- make some enemies friends!
The rules here are pretty simple: