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
d5957ede
Commit
d5957ede
authored
Feb 04, 2016
by
Jitka Novotna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes
parent
693d71d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
weblate/trans/context_processors.py
weblate/trans/context_processors.py
+2
-2
weblate/trans/models/group_acl.py
weblate/trans/models/group_acl.py
+1
-1
No files found.
weblate/trans/context_processors.py
View file @
d5957ede
...
...
@@ -45,7 +45,7 @@ def weblate_context(request):
# Load user translations if user is authenticated
usersubscriptions
=
None
userlanguages
=
None
if
request
.
user
.
is_authenticated
():
usersubscriptions
=
Translation
.
objects
.
filter
(
language__in
=
request
.
user
.
profile
.
languages
.
all
(),
...
...
@@ -53,7 +53,7 @@ def weblate_context(request):
).
order_by
(
'subproject__project__name'
,
'subproject__name'
).
select_related
()
userlanguages
=
Translation
.
objects
.
filter
(
language__in
=
request
.
user
.
profile
.
languages
.
all
(),
subproject__project__in
=
projects
,
...
...
weblate/trans/models/group_acl.py
View file @
d5957ede
...
...
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""
Whiteboard model
."""
"""
Group ACL
."""
from
django.db
import
models
from
django.core.exceptions
import
ValidationError
...
...
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