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
09c1975f
Commit
09c1975f
authored
Feb 19, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap long lines
parent
92b1f15f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
weblate/trans/views/js.py
weblate/trans/views/js.py
+12
-3
No files found.
weblate/trans/views/js.py
View file @
09c1975f
...
...
@@ -153,7 +153,10 @@ def ignore_check(request, check_id):
return
HttpResponse
(
'ok'
)
@
any_permission_required
(
'trans.commit_translation'
,
'trans.update_translation'
)
@
any_permission_required
(
'trans.commit_translation'
,
'trans.update_translation'
)
def
git_status_project
(
request
,
project
):
obj
=
get_object_or_404
(
Project
,
slug
=
project
)
obj
.
check_acl
(
request
)
...
...
@@ -163,7 +166,10 @@ def git_status_project(request, project):
}))
@
any_permission_required
(
'trans.commit_translation'
,
'trans.update_translation'
)
@
any_permission_required
(
'trans.commit_translation'
,
'trans.update_translation'
)
def
git_status_subproject
(
request
,
project
,
subproject
):
obj
=
get_object_or_404
(
SubProject
,
slug
=
subproject
,
project__slug
=
project
)
obj
.
check_acl
(
request
)
...
...
@@ -173,7 +179,10 @@ def git_status_subproject(request, project, subproject):
}))
@
any_permission_required
(
'trans.commit_translation'
,
'trans.update_translation'
)
@
any_permission_required
(
'trans.commit_translation'
,
'trans.update_translation'
)
def
git_status_translation
(
request
,
project
,
subproject
,
lang
):
obj
=
get_object_or_404
(
Translation
,
...
...
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