Files

49 lines
2.0 KiB
Plaintext

<div class="d-footer">
<div class="d-placing">
<div class="left">
<div class="latest-posts">
<h3 class="latest_from_blog"><%= link_to t("txt.home.latest_from_blog"), blog_url %></h3>
<% for post in blog_posts %>
<h4><%= link_to(truncate(post.title, 83), post.url) %></h4>
<div class="post-info"><%= t('txt.home.blog_post_info', :on => l(post.date, :format => :cute_long), :in => wp_categories_links(post.categories)) %></div>
<% end %>
</div>
<div class="other-posts"><%= link_to(t('txt.home.see_other_posts'), blog_url) %></div>
</div>
<div class="right">
<div class="news">
<ul class="links">
<li><%= link_to t('txt.home.subscribe_to_rss'), feeds_url(:format => :rss), :class => "rss" %></li>
<li><%= link_to t('txt.home.follow_on_twitter'), twitter_url, :class => "twitter" %></li>
</ul>
<% for latest in latest_news %>
<div class="news-item <%= "last-item" if latest_news.last == latest %>">
<div class="date"><%= l(latest.date, :format => :news) %></div>
<div class="message">
<% if latest.is_release? %>
<h4><%= t('txt.home.new_release', :product => strip_version(latest.product.name), :version => latest.version) %></h4>
<p>
<% if latest.has_changelog? %>
<%= link_to t('txt.common.see_whats_new'), releases_page_path(latest.product, latest.version) %>
<%= t('txt.common.or') %>
<% end %>
<%= download_link_to t('txt.home.download_latest_release'), latest.product %>
</p>
<% else %>
<h4><% if latest.with_link? %><%= link_to latest.title, latest.link %><% else %><%= latest.title %><% end %></h4><p><%= latest.body %></p>
<% end %>
</div>
</div>
<% end %>
</div>
</div>
</div>
<div class="d-placing">
<hr />
<div class="copy"><%= render :partial => "shared/footer_copy" %></div>
</div>
</div>