forked from indymedia/epicyon
Only show timeline post separator if a post was found
parent
c35bba1809
commit
b637a6c0e1
|
@ -596,7 +596,7 @@ def htmlHashtagSearch(cssCache: {},
|
||||||
if nickname:
|
if nickname:
|
||||||
showIndividualPostIcons = True
|
showIndividualPostIcons = True
|
||||||
allowDeletion = False
|
allowDeletion = False
|
||||||
hashtagSearchForm += separatorStr + \
|
postStr = \
|
||||||
individualPostAsHtml(True, recentPostsCache,
|
individualPostAsHtml(True, recentPostsCache,
|
||||||
maxRecentPosts,
|
maxRecentPosts,
|
||||||
iconsDir, translate, None,
|
iconsDir, translate, None,
|
||||||
|
@ -612,6 +612,8 @@ def htmlHashtagSearch(cssCache: {},
|
||||||
showIndividualPostIcons,
|
showIndividualPostIcons,
|
||||||
showIndividualPostIcons,
|
showIndividualPostIcons,
|
||||||
False, False, False)
|
False, False, False)
|
||||||
|
if postStr:
|
||||||
|
hashtagSearchForm += separatorStr + postStr
|
||||||
index += 1
|
index += 1
|
||||||
|
|
||||||
if endIndex < noOfLines - 1:
|
if endIndex < noOfLines - 1:
|
||||||
|
@ -943,7 +945,7 @@ def htmlHistorySearch(cssCache: {}, translate: {}, baseDir: str,
|
||||||
continue
|
continue
|
||||||
showIndividualPostIcons = True
|
showIndividualPostIcons = True
|
||||||
allowDeletion = False
|
allowDeletion = False
|
||||||
historySearchForm += separatorStr + \
|
postStr = \
|
||||||
individualPostAsHtml(True, recentPostsCache,
|
individualPostAsHtml(True, recentPostsCache,
|
||||||
maxRecentPosts,
|
maxRecentPosts,
|
||||||
iconsDir, translate, None,
|
iconsDir, translate, None,
|
||||||
|
@ -959,6 +961,8 @@ def htmlHistorySearch(cssCache: {}, translate: {}, baseDir: str,
|
||||||
showIndividualPostIcons,
|
showIndividualPostIcons,
|
||||||
showIndividualPostIcons,
|
showIndividualPostIcons,
|
||||||
False, False, False)
|
False, False, False)
|
||||||
|
if postStr:
|
||||||
|
historySearchForm += separatorStr + postStr
|
||||||
index += 1
|
index += 1
|
||||||
|
|
||||||
historySearchForm += htmlFooter()
|
historySearchForm += htmlFooter()
|
||||||
|
|
Loading…
Reference in New Issue