Archive: ComponentOwl Rails app, DB backups, go redirect script
This commit is contained in:
46
app/views/articles/show.html.erb
Normal file
46
app/views/articles/show.html.erb
Normal file
@@ -0,0 +1,46 @@
|
||||
<div class="subpage article-content">
|
||||
|
||||
<div class="left">
|
||||
|
||||
<div class="section-heading">Articles for .NET developers</div>
|
||||
|
||||
<h1 class="title"><%= @article.title %></h1>
|
||||
|
||||
<div class="content">
|
||||
<%= render :inline => @article.content %>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
|
||||
<div class="dextronet-feeds">
|
||||
<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>
|
||||
<li><%= link_to t('txt.home.follow_on_facebook'), Settings.facebook_url, :class => "facebook" %></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sidebar">
|
||||
<h4><%= featured_product.name %></h4>
|
||||
<%= screenshot_link(featured_product.screenshot) %>
|
||||
<div class="buttonz">
|
||||
<%= download_link(featured_product) %>
|
||||
</div>
|
||||
<div class="text">
|
||||
<%= render :inline => @subtemplate %>
|
||||
</div>
|
||||
<%= screenshot_link(@article.screenshot) if @article.screenshot %>
|
||||
<% if @subtemplate.present? %>
|
||||
<div class="download">
|
||||
<%= download_link_to("Download Now", featured_product) %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<%= render :partial => "shared/screenshot_buttons", :object => featured_product %>
|
||||
Reference in New Issue
Block a user