Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
1f3d2b7a
Commit
1f3d2b7a
authored
Apr 17, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove no longer needed explicit check
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
1e485591
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
weblate/trans/views/edit.py
weblate/trans/views/edit.py
+0
-8
No files found.
weblate/trans/views/edit.py
View file @
1f3d2b7a
...
...
@@ -393,14 +393,6 @@ def check_suggestion_permissions(request, mode, translation):
"""
Checks permission for suggestion handling.
"""
if
(
translation
.
is_template
()
and
not
request
.
user
.
has_perm
(
'trans.save_template'
)):
# Need privilege to save
messages
.
error
(
request
,
_
(
'You don
\
'
t have privileges to save templates!'
)
)
return
False
if
mode
in
(
'accept'
,
'accept_edit'
):
if
not
can_accept_suggestion
(
request
.
user
,
translation
):
messages
.
error
(
...
...
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