mirror of https://gitlab.com/bashrc2/epicyon
Separate div for setting hashtag category
parent
22b88864a9
commit
0acd190c5f
|
@ -668,7 +668,7 @@ def htmlHashtagSearch(cssCache: {},
|
||||||
# edit the category for this hashtag
|
# edit the category for this hashtag
|
||||||
if isEditor(baseDir, nickname):
|
if isEditor(baseDir, nickname):
|
||||||
category = getHashtagCategory(baseDir, hashtag)
|
category = getHashtagCategory(baseDir, hashtag)
|
||||||
# hashtagSearchForm += '<div class="container">\n'
|
hashtagSearchForm += '<div class="hashtagCategoryContainer">\n'
|
||||||
hashtagSearchForm += ' <form method="POST" action="' + \
|
hashtagSearchForm += ' <form method="POST" action="' + \
|
||||||
'/users/' + nickname + '/sethashtagcategory">\n'
|
'/users/' + nickname + '/sethashtagcategory">\n'
|
||||||
hashtagSearchForm += ' <center>\n'
|
hashtagSearchForm += ' <center>\n'
|
||||||
|
@ -682,21 +682,16 @@ def htmlHashtagSearch(cssCache: {},
|
||||||
hashtagSearchForm += \
|
hashtagSearchForm += \
|
||||||
' <button type="submit" class="button" name="submitYes">' + \
|
' <button type="submit" class="button" name="submitYes">' + \
|
||||||
translate['Submit'] + '</button>\n'
|
translate['Submit'] + '</button>\n'
|
||||||
hashtagSearchForm += ' <a href="/tags/rss2/' + hashtag + '">'
|
|
||||||
hashtagSearchForm += \
|
|
||||||
'<img style="width:3%;min-width:50px" ' + \
|
|
||||||
'loading="lazy" alt="RSS 2.0" title="RSS 2.0" src="/' + \
|
|
||||||
iconsPath + '/logorss.png" /></a>\n'
|
|
||||||
hashtagSearchForm += ' </center>\n'
|
hashtagSearchForm += ' </center>\n'
|
||||||
hashtagSearchForm += ' </form>\n'
|
hashtagSearchForm += ' </form>\n'
|
||||||
# hashtagSearchForm += '</div>\n'
|
hashtagSearchForm += '</div>\n'
|
||||||
else:
|
|
||||||
# RSS link for hashtag feed
|
# RSS link for hashtag feed
|
||||||
hashtagSearchForm += '<center><a href="/tags/rss2/' + hashtag + '">'
|
hashtagSearchForm += '<center><a href="/tags/rss2/' + hashtag + '">'
|
||||||
hashtagSearchForm += \
|
hashtagSearchForm += \
|
||||||
'<img style="width:3%;min-width:50px" ' + \
|
'<img style="width:3%;min-width:50px" ' + \
|
||||||
'loading="lazy" alt="RSS 2.0" title="RSS 2.0" src="/' + \
|
'loading="lazy" alt="RSS 2.0" title="RSS 2.0" src="/' + \
|
||||||
iconsPath + '/logorss.png" /></a></center>\n'
|
iconsPath + '/logorss.png" /></a></center>\n'
|
||||||
|
|
||||||
if startIndex > 0:
|
if startIndex > 0:
|
||||||
# previous page link
|
# previous page link
|
||||||
|
|
Loading…
Reference in New Issue