Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
c6f56853
Commit
c6f56853
authored
Mar 23, 2018
by
Mingyue Gao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(template): download book with capital ext by kindle's browser
parent
f019d58b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
detail.html
cps/templates/detail.html
+2
-2
No files found.
cps/templates/detail.html
View file @
c6f56853
...
...
@@ -22,7 +22,7 @@
{{_('Download')}} :
</button>
{% for format in entry.data %}
<a
href=
"{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format) }}"
id=
"btnGroupDrop1{{format.format|lower}}"
class=
"btn btn-primary"
role=
"button"
>
<a
href=
"{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format
|lower
) }}"
id=
"btnGroupDrop1{{format.format|lower}}"
class=
"btn btn-primary"
role=
"button"
>
<span
class=
"glyphicon glyphicon-download"
></span>
{{format.format}} ({{ format.uncompressed_size|filesizeformat }})
</a>
{% endfor %}
...
...
@@ -33,7 +33,7 @@
</button>
<ul
class=
"dropdown-menu"
aria-labelledby=
"btnGroupDrop1"
>
{% for format in entry.data %}
<li><a
href=
"{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format) }}"
>
{{format.format}} ({{ format.uncompressed_size|filesizeformat }})
</a></li>
<li><a
href=
"{{ url_for('get_download_link_ext', book_id=entry.id, book_format=format.format|lower, anyname=entry.id|string+'.'+format.format
|lower
) }}"
>
{{format.format}} ({{ format.uncompressed_size|filesizeformat }})
</a></li>
{% endfor %}
</ul>
{% endif %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment