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
861920af
Commit
861920af
authored
Feb 03, 2017
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pubdate is now showing up (#95)
Bugfix links in detailview
parent
b0c6c9d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
detail.html
cps/templates/detail.html
+7
-6
No files found.
cps/templates/detail.html
View file @
861920af
...
...
@@ -15,7 +15,7 @@
<h2>
{{entry.title}}
</h2>
<p
class=
"author"
>
{% for author in entry.authors %}
<a
href=
"{{url_for('author',
name=author.name | urlencode
) }}"
>
{{author.name}}
</a>
<a
href=
"{{url_for('author',
id=author.id
) }}"
>
{{author.name}}
</a>
{% if not loop.last %}
&
{% endif %}
...
...
@@ -37,7 +37,7 @@
{% endif %}
{% if entry.series|length > 0 %}
<p>
{{_('Book')}} {{entry.series_index}} {{_('of')}}
<a
href=
"{{url_for('series',
name=entry.series[0].name
)}}"
>
{{entry.series[0].name}}
</a></p>
<p>
{{_('Book')}} {{entry.series_index}} {{_('of')}}
<a
href=
"{{url_for('series',
id=entry.series[0].id
)}}"
>
{{entry.series[0].name}}
</a></p>
{% endif %}
{% if entry.languages.__len__() > 0 %}
...
...
@@ -58,20 +58,21 @@
</p>
{% endif %}
{% if entry.tags|length > 0 %}
<p>
<div
class=
"tags"
>
<span
class=
"glyphicon glyphicon-tags"
></span>
{% for tag in entry.tags %}
<a
href=
"{{ url_for('category',
name=tag.name | urlencode
) }}"
class=
"btn btn-xs btn-info"
role=
"button"
>
{{tag.name}}
</a>
<a
href=
"{{ url_for('category',
id=tag.id
) }}"
class=
"btn btn-xs btn-info"
role=
"button"
>
{{tag.name}}
</a>
{%endfor%}
</div>
</p>
{% endif %}
{% if entry.pubdate != '0101-01-01 00:00:00' %}
<p>
{{_('Publishing date')}}: {{entry.pubdate[:10]}}
</p>
{% endif %}
{% if cc|length > 0 %}
<p>
<div
class=
"custom_columns"
>
...
...
@@ -101,7 +102,7 @@
{% endif %}
{% if entry.comments|length > 0 %}
{% if entry.comments|length > 0
and entry.comments[0].text|length > 0
%}
<h3>
{{_('Description:')}}
</h3>
{{entry.comments[0].text|safe}}
{% 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