Skip to content

Commit

Permalink
remove subscription block
Browse files Browse the repository at this point in the history
  • Loading branch information
robbi5 committed Jan 1, 2021
1 parent 8cbcb07 commit 99ec972
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 31 deletions.
4 changes: 1 addition & 3 deletions app/views/body/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,4 @@
</ul>
<% end %>
</div>
</div>

<%= render partial: 'subscription/block' %>
</div>
4 changes: 1 addition & 3 deletions app/views/legislative_term/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
</ol>

<p class="pagination-total"><%= number_with_delimiter @papers.total_count %> <%= t :kleine_anfragen, count: @papers.total_count %></p>
<%= paginate @papers %>

<%= render partial: 'subscription/block' %>
<%= paginate @papers %>
14 changes: 0 additions & 14 deletions app/views/search/search.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,4 @@
<%- fdsquery = { q: @term } -%>
<p>Möglicherweise gibt es aber eine <%= link_to 'IFG-Anfrage bei FragDenStaat.de', "https://fragdenstaat.de/suche/?#{fdsquery.to_query}" %> zu deiner Suche.</p>
</div>
<% end %>

<% content_for :main_fullwidth_append do %>
<div class="subscribe-block subscribe-block--light">
<div class="container">
<h3>Lass dich bei neuen Anfragen für diese Suche benachrichtigen.</h3>
<ul>
<li><%= link_to 'als Feed abonnieren', search_url(q: @query, format: :atom), class: 'btn btn-primary btn-icon-feed' %></li>
</ul>
<% if @conditions[:contains_table] %>
<p class="subscribe-tabletwitter">Neue Anfragen mit Tabellen findest du auch auf Twitter: <a href="https://twitter.com/anfragen_daten">@anfragen_daten</a></p>
<% end %>
</div>
</div>
<% end %>
11 changes: 0 additions & 11 deletions app/views/subscription/_block.html.erb

This file was deleted.

0 comments on commit 99ec972

Please sign in to comment.