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
d77b52af
Commit
d77b52af
authored
Feb 17, 2020
by
Niktia Pchelin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#645 - displays '(public)' next to public shelves created by the user
parent
29f6463e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
layout.html
cps/templates/layout.html
+1
-1
No files found.
cps/templates/layout.html
View file @
d77b52af
...
...
@@ -140,7 +140,7 @@
{% endfor %}
<li
class=
"nav-head hidden-xs your-shelves"
>
{{_('Your Shelves')}}
</li>
{% for shelf in g.user.shelf %}
<li><a
href=
"{{url_for('shelf.show_shelf', shelf_id=shelf.id)}}"
><span
class=
"glyphicon glyphicon-list private_shelf"
></span>
{{shelf.name|shortentitle(40)}}
</a></li>
<li><a
href=
"{{url_for('shelf.show_shelf', shelf_id=shelf.id)}}"
><span
class=
"glyphicon glyphicon-list private_shelf"
></span>
{{shelf.name|shortentitle(40)}}
{% if shelf.is_public == 1 %} (public){% endif %}
</a></li>
{% endfor %}
{% if not g.user.is_anonymous %}
<li
id=
"nav_createshelf"
class=
"create-shelf"
><a
href=
"{{url_for('shelf.create_shelf')}}"
>
{{_('Create a Shelf')}}
</a></li>
...
...
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