Skip to content

Commit

Permalink
Modify the ad HTML to be a little more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
kneath committed Jun 9, 2008
1 parent 91e861a commit 8e10faf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/shared/_ad.html.erb
Expand Up @@ -2,12 +2,12 @@
<% unless campaign.filename.blank? %>
<a href="<%= campaign.link %>" title="<%= campaign.name %>" class="greed_img"><img src="<%= host_with_port + campaign.filename %>" /></a>
<% unless campaign.description.blank? %>
<p class="greed_description"><%= campaign.description %></p>
<div class="greed_description"><%= campaign.description %></div>
<% end %>
<% else %>
<h4 class="greed_title"><a href="<%= campaign.link %>"><%=h campaign.name %></a></h4>
<% unless campaign.description.blank? %>
<p class="greed_description"><%= campaign.description %></p>
<div class="greed_description"><%= campaign.description %></div>
<% end %>
<% end %>
</div>

0 comments on commit 8e10faf

Please sign in to comment.