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
4346e947
Commit
4346e947
authored
Feb 04, 2018
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for #447
parent
199b1c48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
user_edit.html
cps/templates/user_edit.html
+2
-2
No files found.
cps/templates/user_edit.html
View file @
4346e947
...
...
@@ -92,12 +92,12 @@
<div
class=
"form-group"
>
<input
type=
"checkbox"
name=
"admin_role"
id=
"admin_role"
{%
if
content
.
role_admin
()
%}
checked
{%
endif
%}
>
<label
for=
"admin_role"
>
{{_('Admin user')}}
</label>
</div>
</div>
{% endif %}
<div
class=
"form-group"
>
<input
type=
"checkbox"
name=
"show_mature_content"
id=
"show_mature_content"
{%
if
content
.
mature_content
%}
checked
{%
endif
%}
>
<label
for=
"show_mature_content"
>
{{_('Show mature content')}}
</label>
</div>
{% endif %}
<div
class=
"form-group"
>
<input
type=
"checkbox"
name=
"download_role"
id=
"download_role"
{%
if
content
.
role_download
()
%}
checked
{%
endif
%}
>
<label
for=
"download_role"
>
{{_('Allow Downloads')}}
</label>
...
...
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