Permalink
Browse files

small tweak to milestones - still a long way to go :)

  • Loading branch information...
1 parent 3248974 commit ce7e5d42d942f6baab5e487187e3883fdbf40eb4 Jen Wendling committed Jul 23, 2011
Showing with 6 additions and 6 deletions.
  1. +4 −0 app/views/milestones/_milestones.html.erb
  2. +2 −6 app/views/milestones/index.html.erb
@@ -2,6 +2,7 @@
<% table_id ||= "milestones" %>
<% if milestones.present? %>
+<div class="box_content">
<table class="sort-table" width="100%" id="<%= table_id %>" cellspacing="0" cellpadding="3" border="0">
<thead>
<tr>
@@ -14,6 +15,9 @@
<%= render :partial => milestones %>
</tbody>
</table>
+</div>
<% else %>
+<div class="box_content padding">
<p>Nothing to Show</p>
+</div>
<% end %>
@@ -8,9 +8,7 @@
<li><%= link_to_new_milestone %></li>
</ul>
</div>
- <div class="box_content">
- <%= milestone_list_for @future, "future_milestones" %>
- </div>
+ <%= milestone_list_for @future, "future_milestones" %>
</div>
<div class="grid_12 milestone_list">
@@ -20,7 +18,5 @@
<li><%= link_to_show_all_milestones %></li>
</ul>
</div>
- <div class="box_content">
- <%= milestone_list_for @recent, "past_milestones" %>
- </div>
+ <%= milestone_list_for @recent, "past_milestones" %>
</div>

0 comments on commit ce7e5d4

Please sign in to comment.