Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
proto3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
protokollsystem
proto3
Commits
5e5ac53a
Commit
5e5ac53a
authored
6 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Patches
Plain Diff
Replace newly introduced tabs by spaces
parent
e76ebbe8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.py
+9
-9
9 additions, 9 deletions
server.py
with
9 additions
and
9 deletions
server.py
+
9
−
9
View file @
5e5ac53a
...
@@ -354,12 +354,12 @@ def internal_syntax_documentation():
...
@@ -354,12 +354,12 @@ def internal_syntax_documentation():
@back.anchor
@back.anchor
@login_required
@login_required
def
tags_syntax_documentation
():
def
tags_syntax_documentation
():
states
=
{
state
:[]
for
state
in
list
(
TodoState
)}
states
=
{
state
:[]
for
state
in
list
(
TodoState
)}
name_to_state
=
TodoState
.
get_name_to_state
()
name_to_state
=
TodoState
.
get_name_to_state
()
for
state_name
in
name_to_state
:
for
state_name
in
name_to_state
:
states
[
name_to_state
[
state_name
]].
append
(
state_name
)
states
[
name_to_state
[
state_name
]].
append
(
state_name
)
return
render_template
(
return
render_template
(
"
documentation-syntax-tags.html
"
,
states
=
states
)
"
documentation-syntax-tags.html
"
,
states
=
states
)
@app.route
(
"
/documentation/configuration
"
)
@app.route
(
"
/documentation/configuration
"
)
@back.anchor
@back.anchor
...
@@ -386,10 +386,10 @@ def todomails_configuration_documentation():
...
@@ -386,10 +386,10 @@ def todomails_configuration_documentation():
@back.anchor
@back.anchor
@login_required
@login_required
def
settings_configuration_documentation
():
def
settings_configuration_documentation
():
user
=
current_user
()
user
=
current_user
()
return
render_template
(
return
render_template
(
"
documentation-configuration-settings.html
"
,
"
documentation-configuration-settings.html
"
,
system_administrator
=
(
user
is
not
None
and
config
.
ADMIN_GROUP
in
user
.
groups
))
system_administrator
=
(
user
is
not
None
and
config
.
ADMIN_GROUP
in
user
.
groups
))
@app.route
(
"
/types/list
"
)
@app.route
(
"
/types/list
"
)
@back.anchor
@back.anchor
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment