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
f3497599
Commit
f3497599
authored
Mar 05, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass user
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
c5781f47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
weblate/trans/feeds.py
weblate/trans/feeds.py
+3
-1
No files found.
weblate/trans/feeds.py
View file @
f3497599
...
...
@@ -35,6 +35,8 @@ class ChangesFeed(Feed):
'''
Generic RSS feed for Weblate changes.
'''
def
get_object
(
self
,
request
):
return
request
.
user
def
title
(
self
):
return
_
(
'Recent changes in %s'
)
%
appsettings
.
SITE_TITLE
...
...
@@ -48,7 +50,7 @@ class ChangesFeed(Feed):
return
reverse
(
'home'
)
def
items
(
self
,
obj
):
return
Change
.
objects
.
last_changes
(
None
)[:
10
]
return
Change
.
objects
.
last_changes
(
obj
)[:
10
]
def
item_title
(
self
,
item
):
return
item
.
get_action_display
()
...
...
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