Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #69 from hyoshida/hotfix/disable_google_adsense
Browse files Browse the repository at this point in the history
Google Adsenseを削除
  • Loading branch information
YOSHIDA Cake committed Feb 22, 2014
2 parents 69d80ab + 1f99f32 commit 02c3338
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 21 deletions.
11 changes: 0 additions & 11 deletions app/assets/stylesheets/wall.css.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -392,14 +392,3 @@ $group_box_height: <%= Settings.thumb_width %>px;
@include opacity(0.75);
}
}

/* adsense */
.adsense {
padding: 20px 0 !important;
text-align: center;

& > p {
margin-bottom: 0.5em;
color: #aaa;
}
}
6 changes: 0 additions & 6 deletions app/views/base/_adsense.html.slim

This file was deleted.

2 changes: 0 additions & 2 deletions app/views/base/_clip_wall.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

#container.hidden
ul
- if @clips.respond_to?(:current_page) && @clips.current_page == 1
== render partial: 'base/adsense'
- @clips.each do |clip|
== render partial: 'base/clip', locals: { clip: clip }

Expand Down
2 changes: 0 additions & 2 deletions app/views/base/_wall.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#container.hidden
ul
- if records.respond_to?(:current_page) && records.current_page == 1
== render partial: 'base/adsense'
- records.each do |record|
- case record
- when Clip
Expand Down

0 comments on commit 02c3338

Please sign in to comment.