0
+
<% content_for :action_nav do %>0
<!-- begin action nav -->
0
-<div class="round" id="page-nav">
0
+ <ul id="act-nav" class="clear">
0
<li><%= link_to "Create new article", :controller => 'articles', :action => "new" %></li>
0
<li><%= link_to "Create new section", :controller => 'sections' %></li>
0
<li><%= link_to "Update your account", :controller => 'users', :action => 'show', :id => current_user %></li>
0
<!-- /end action nav -->
0
- <ul id="quick-stats" class="clear">
0
- <li id="stat-comments" class="round"><div>23</div></li>
0
<!-- begin overview -->
0
- <%= link_to 'Subscribe via RSS', overview_url, :class => 'feed right' %>
0
- <h3>Whats happening around <%= site.title %></h3>
0
+ <%= link_to 'Subscribe', overview_url, :class => 'feed right' %>
0
<h4>Today <%= todays_short_date %></h4>
0
<%= render_events @todays_events %>
0
<% content_for :sidebar do %>
0
<% if @articles.any? -%>
0
- <h3>Comments
Needing Moderation</h3>
0
+ <h3>Comments
awaiting your approval</h3>
0
<% @articles.each do |article| -%>
0
<li><%= link_to "<strong>(#{article.unapproved_comments.size})</strong> #{h(article.title)}", :controller => 'articles', :action => 'comments', :id => article.id, :filter => :unapproved %></li>
0
<ul class="slist" id="activity">
0
<% for user in @users %>
0
- <li><%= link_to user.login, :controller => 'users', :action => 'show', :id => user.login %> showed up
about <%= distance_of_time_in_words_to_now(user.updated_at) %> ago</li>
0
+ <li><%= link_to user.login, :controller => 'users', :action => 'show', :id => user.login %> showed up
<%= distance_of_time_in_words_to_now(user.updated_at) %> ago</li>