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
bf7364cc
Commit
bf7364cc
authored
Mar 28, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ed7dfe64
5415a297
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
trans/views.py
trans/views.py
+1
-1
No files found.
trans/views.py
View file @
bf7364cc
...
...
@@ -610,7 +610,7 @@ def upload_translation(request, project, subproject, lang):
else
:
form
=
SimpleUploadForm
(
request
.
POST
,
request
.
FILES
)
if
form
.
is_valid
():
if
request
.
user
.
has_perm
(
'trans.author_translation'
):
if
request
.
user
.
has_perm
(
'trans.author_translation'
)
and
form
.
cleaned_data
[
'author_name'
]
!=
''
and
form
.
cleaned_data
[
'author_email'
]
!=
''
:
author
=
'%s <%s>'
%
(
form
.
cleaned_data
[
'author_name'
],
form
.
cleaned_data
[
'author_email'
])
else
:
author
=
None
...
...
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