Sha256: 0499394e8cb17a5bdad76b07646e57c96e1457cb885485b4212746afed7860f3

Contents?: true

Size: 409 Bytes

Versions: 3

Compression:

Stored size: 409 Bytes

Contents

.advertisement{:style=>'text-align:center'}
  - unless @advertisement == nil
    - if @advertisement.ad_type == 'ad_service'
      = @advertisement.ad_text.html_safe
    - elsif @advertisement.ad_type == 'image_link'
      %a{:href => rails_adserver.ad_click_path(@advertisement.id), :rel => "nofollow"}
        = image_tag @advertisement.image_url, :size => "#{@advertisement.width}x#{@advertisement.height}"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_adserver-1.0.2 app/views/rails_adserver/advertisements/_advertisement.html.haml
rails_adserver-1.0.1 app/views/rails_adserver/advertisements/_advertisement.html.haml
rails_adserver-1.0.0 app/views/rails_adserver/advertisements/_advertisement.html.haml