Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
21ff7251
Commit
21ff7251
authored
2 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Kosmetika: Raději než "level" říkejme "úroveň"
parent
a2ccc95f
Branches
Branches containing commit
No related tags found
1 merge request
!128
Místa: hledání a další drobná vylepšení
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mo/web/org_place.py
+1
-1
1 addition, 1 deletion
mo/web/org_place.py
with
1 addition
and
1 deletion
mo/web/org_place.py
+
1
−
1
View file @
21ff7251
...
...
@@ -224,7 +224,7 @@ def org_place_move(id: int):
if
not
rr
.
can_edit_place
(
new_parent
):
search_error
=
'
Nemáte právo k editaci vybraného nadřazeného místa, přesun nelze uskutečnit
'
elif
(
new_parent
.
level
+
1
)
not
in
levels
:
search_error
=
f
'
Toto místo (
{
place
.
type_name
()
}
) nelze přemístit pod vybrané místo (
{
new_parent
.
type_name
()
}
), dostalo by se na nepovolen
ý le
ve
l
'
search_error
=
f
'
Toto místo (
{
place
.
type_name
()
}
) nelze přemístit pod vybrané místo (
{
new_parent
.
type_name
()
}
), dostalo by se na nepovolen
ou úro
ve
ň
'
elif
new_parent
.
place_id
==
place
.
parent
:
search_error
=
'
Žádná změna, místo je zde již umístěno
'
elif
form
.
move
.
data
:
...
...
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