Skip to content

Commit 9f0f253

Browse files
committed
Totally remove bookmarks from footer logic
1 parent 2d80280 commit 9f0f253

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

readthedocs/restapi/templates/restapi/footer.html

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -71,30 +71,6 @@
7171
</dd>
7272
</dl>
7373

74-
{% if show_bookmarks %}
75-
<dl>
76-
<dt>Bookmark</dt>
77-
<dd>
78-
79-
<div class="bookmark-icon">
80-
<div class='bookmark-inactive'>
81-
<a class="bookmark" token="{{ csrf_token }}">
82-
<img src="{{ settings.MEDIA_URL }}/images/bookmark-icon-default.png" />
83-
</a>
84-
</div>
85-
86-
<div class="bookmark-active">
87-
<a class="bookmark" token="{{ csrf_token }}">
88-
<img src="{{ settings.MEDIA_URL }}/images/bookmark-icon-active.png" />
89-
</a>
90-
</div>
91-
92-
<div class="bookmark-added-msg"></div>
93-
</div>
94-
</dd>
95-
</dl>
96-
{% endif %}
97-
9874
{% if print_url %}
9975
<dl>
10076
<dt>Paperback</dt>

readthedocs/restapi/views/footer_views.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from rest_framework.renderers import JSONPRenderer, JSONRenderer, BrowsableAPIRenderer
88
from rest_framework.response import Response
99

10-
from bookmarks.models import Bookmark
1110
from builds.models import Version
1211
from projects.models import Project
1312

@@ -61,8 +60,6 @@ def footer_html(request):
6160
show_promo = False
6261

6362
context = Context({
64-
'show_bookmarks': False,
65-
'bookmark': None,
6663
'project': project,
6764
'path': path,
6865
'downloads': version.get_downloads(pretty=True),

0 commit comments

Comments
 (0)