Moved activitie limit to 20.

This commit is contained in:
Martin Edenhofer 2013-08-20 13:28:12 +02:00
parent 95c1ef3814
commit cf09928636
2 changed files with 13 additions and 14 deletions

View file

@ -21,7 +21,7 @@ class App.DashboardActivityStream extends App.Controller
type: 'GET' type: 'GET'
url: @apiPath + '/activity_stream' url: @apiPath + '/activity_stream'
data: { data: {
limit: 8 limit: @limit || 8
} }
processData: true processData: true
success: (data) => success: (data) =>

View file

@ -33,17 +33,17 @@ class Index extends App.ControllerContent
activity_stream: { activity_stream: {
controller: App.DashboardActivityStream, controller: App.DashboardActivityStream,
params: { params: {
limit: 8, limit: 20,
},
},
rss_atom: {
controller: App.DashboardRss,
params: {
head: 'Heise ATOM',
url: 'http://www.heise.de/newsticker/heise-atom.xml',
limit: 5,
}, },
}, },
# rss_atom: {
# controller: App.DashboardRss,
# params: {
# head: 'Heise ATOM',
# url: 'http://www.heise.de/newsticker/heise-atom.xml',
# limit: 5,
# },
# },
# rss_rdf: { # rss_rdf: {
# controller: App.DashboardRss, # controller: App.DashboardRss,
# params: { # params: {
@ -52,10 +52,9 @@ class Index extends App.ControllerContent
# limit: 5, # limit: 5,
# }, # },
# }, # },
# recent_viewed: {
recent_viewed: { # controller: App.DashboardRecentViewed,
controller: App.DashboardRecentViewed, # }
}
} }
} }