Skip to content

Commit

Permalink
Merge pull request #555 from plural/no-more-ads
Browse files Browse the repository at this point in the history
Remove ads.
  • Loading branch information
plural authored Sep 28, 2021
2 parents 63847fd + ba25e96 commit c65ab52
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 23 deletions.
1 change: 0 additions & 1 deletion app/Resources/views/Activity/activity.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ $(function () { NRDB.user.data.unchecked_activity = 0; });
{% endif %}
</div>
<div class="col-md-4">
{% include '/Default/google_adaptable_ad.html.twig' %}
</div>
</div>
</div> <!-- .container -->
Expand Down
3 changes: 0 additions & 3 deletions app/Resources/views/Decklist/decklist.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ NRDB.user.params.decklist_id = Decklist.id;

</div><!-- /#tools -->
</div>

{% include '/Default/google_adaptable_ad.html.twig' %}

</div>
<!-- Left-side Column -->

Expand Down
4 changes: 1 addition & 3 deletions app/Resources/views/Decklist/decklists.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
{% set linkurl = path('decklists_searchform') %}<li class="{% if url == linkurl %}active{% endif %}"><a href="{{ linkurl }}"><span class="glyphicon glyphicon-search"></span> Search</a></li>
</ul>

{% include '/Default/google_adaptable_ad.html.twig' %}

</div>

<div class="col-md-9">
Expand Down Expand Up @@ -84,4 +82,4 @@
</div>
</div>

{% endblock %}
{% endblock %}
2 changes: 1 addition & 1 deletion app/Resources/views/Default/donators.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="col-md-12">
<h1>The Gracious Donators</h1>
<p class="lead">NetrunnerDB wouldn't be the same without them. Many, many thanks.</p>
<p>To show our appreciation, the content of the site is free of ads for Donators.</p>
<p>This website is ad-free due to the generous donations of our generous Patreon supporters. Thank you all! We are working on new supporter perks as of October 2021, so please stay tuned!</p>
<p>To become a Donator and help run the site, you can use <a href="https://paypal.me/niseiproject">Paypal</a> or join the Project NISEI <a href="https://www.patreon.com/NISEI">Patreon</a>.</p>
<ul>
{% for donator in donators %}
Expand Down
8 changes: 0 additions & 8 deletions app/Resources/views/Default/google_adaptable_ad.html.twig

This file was deleted.

1 change: 0 additions & 1 deletion app/Resources/views/Default/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ var Identity = null,
</div>
<div class="col-md-4">
{% include '/Default/recent_decklists.html.twig' %}
{% include '/Default/google_adaptable_ad.html.twig' %}
</div>
</div>
</div> <!-- .container -->
Expand Down
2 changes: 0 additions & 2 deletions app/Resources/views/Search/advanced-search.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@
</fieldset>
</form>

{% include '/Default/google_adaptable_ad.html.twig' %}

</div>

</div>
Expand Down
1 change: 0 additions & 1 deletion app/Resources/views/Search/display-full.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
</div>
</div>
<div class="col-md-3">
{% include '/Default/google_adaptable_ad.html.twig' %}
</div>
</div>

Expand Down
3 changes: 0 additions & 3 deletions app/Resources/views/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@

</div>
</footer>
{% if app.environment == 'prod' %}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
{% endif %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.0/lazysizes.min.js" async></script>
</body>
</html>

0 comments on commit c65ab52

Please sign in to comment.