Gemfile and bugs in js for orbit-bar

This commit is contained in:
Christophe Vilayphiou authored and Christophe Vilayphiou committed 2012-02-15 00:34:22 +08:00
1 parent 55ae7de01c
commit 1f7dae9bee
4 files changed
+40 -11

No files matched your search

@@ -1,7 +1,28 @@
<div>
<%= post_frontend.title %><br />
<p>
<%= truncate(post_frontend.body,:length=>25) %>
<%= link_to 'Read more...',panel_new_blog_front_end_post_path(post_frontend) %>
</p>
</div>
<ul class="post_list">
<li>
<h2 class="h2 in_heading"><%= post_frontend.title %></h2>
<div class="post_content">
<%= truncate(post_frontend.body,:length=>25) %>
</div>
<%= link_to 'Read more...',panel_new_blog_front_end_post_path(post_frontend), :class => 'btn' %>
</li>
</ul>
<div class="clear" style="height:20px;"></div>
<table class="table table-bordered">
<thead>
<tr>
<th>Title</th>
<th>Content</th>
<th>Link</th>
</tr>
</thead>
<tbody>
<tr>
<th><%= post_frontend.title %></td>
<td><%= truncate(post_frontend.body,:length=>25) %></td>
<td><%= link_to 'Read more...',panel_new_blog_front_end_post_path(post_frontend), :class => 'btn' %></td>
</tr>
</tbody>
</ul>
@@ -6,6 +6,8 @@
<%= flash_messages %>
<h1><%= t('blog.front_end_index') %></h1>
<h1 class="h1 ini_heading"><%= t('blog.front_end_index') %></h1>
<%= render :partial => "post_frontend", :collection => @posts %>