Skip to content

Commit 3207e6b

Browse files
authored
Merge pull request git#983 from jnavila/remove_ebook_downloads
Remove the ebooks download sections
2 parents 7ca7d21 + d9ceff1 commit 3207e6b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

app/views/books/show.html.erb

-20
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<%- @page_title = "Git - Book" %>
44

55
<% content_for :sidebar do %>
6-
<%= render 'ebooks' %>
76
<%= render 'translations' %>
87
<% end %>
98

@@ -14,25 +13,6 @@
1413
<img src="/images/progit2.png" width="118" height="157"/>
1514
<div style="light">2nd Edition (2014)</div>
1615
<div class="switch"><a href="/book/<%= @book.code %>/v1">Switch to 1st Edition</a></div>
17-
<div class="ebook-download">
18-
<h2>Download Ebook</h2>
19-
<div class="ebooks">
20-
<% if @book.ebook_pdf %>
21-
<a href="<%= @book.ebook_pdf %>"><img width="50px" src="/images/pdf.png"/></a>
22-
<% end %>
23-
<% if @book.ebook_epub %>
24-
<a href="<%= @book.ebook_epub %>"><img width="50px" src="/images/epub.png"/></a>
25-
<% end %>
26-
</div>
27-
<div class="ebooks">
28-
<% if @book.ebook_mobi %>
29-
<a href="<%= @book.ebook_mobi %>"><img width="50px" src="/images/mobi.png"/></a>
30-
<% end %>
31-
<% if @book.ebook_html %>
32-
<a href="<%= @book.ebook_html %>"><img width="50px" src="/images/html.png"/></a>
33-
<% end %>
34-
</div>
35-
</div>
3616
</div>
3717
<% else %>
3818
<div style="float:right;margin: -20px 40px 0 40px;">

0 commit comments

Comments
 (0)