forked from indymedia/epicyon
Check for empty timeline
parent
c2ce6b4064
commit
06086d9b6f
|
@ -2161,6 +2161,7 @@ def htmlTimeline(translate: {},pageNumber: int, \
|
||||||
|
|
||||||
# show the posts
|
# show the posts
|
||||||
itemCtr=0
|
itemCtr=0
|
||||||
|
if timelineJson:
|
||||||
for item in timelineJson['orderedItems']:
|
for item in timelineJson['orderedItems']:
|
||||||
if item['type']=='Create' or item['type']=='Announce':
|
if item['type']=='Create' or item['type']=='Announce':
|
||||||
itemCtr+=1
|
itemCtr+=1
|
||||||
|
|
Loading…
Reference in New Issue