mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Features button
							parent
							
								
									0014e5f6e1
								
							
						
					
					
						commit
						42d4589a51
					
				| 
						 | 
				
			
			@ -21,6 +21,7 @@ def headerButtonsTimeline(defaultTimeline: str,
 | 
			
		|||
                          usersPath: str,
 | 
			
		||||
                          mediaButton: str,
 | 
			
		||||
                          blogsButton: str,
 | 
			
		||||
                          featuresButton: str,
 | 
			
		||||
                          newsButton: str,
 | 
			
		||||
                          inboxButton: str,
 | 
			
		||||
                          dmButton: str,
 | 
			
		||||
| 
						 | 
				
			
			@ -71,7 +72,7 @@ def headerButtonsTimeline(defaultTimeline: str,
 | 
			
		|||
        tlStr += \
 | 
			
		||||
            '<a href="' + usersPath + \
 | 
			
		||||
            '/tlfeatures"><button class="' + \
 | 
			
		||||
            newsButton + '"><span>' + translate['Features'] + \
 | 
			
		||||
            featuresButton + '"><span>' + translate['Features'] + \
 | 
			
		||||
            '</span></button></a>'
 | 
			
		||||
    else:
 | 
			
		||||
        tlStr += \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -135,6 +135,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
 | 
			
		|||
    # the appearance of buttons - highlighted or not
 | 
			
		||||
    inboxButton = 'button'
 | 
			
		||||
    blogsButton = 'button'
 | 
			
		||||
    featuresButton = 'button'
 | 
			
		||||
    newsButton = 'button'
 | 
			
		||||
    dmButton = 'button'
 | 
			
		||||
    if newDM:
 | 
			
		||||
| 
						 | 
				
			
			@ -156,6 +157,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
 | 
			
		|||
        inboxButton = 'buttonselected'
 | 
			
		||||
    elif boxName == 'tlblogs':
 | 
			
		||||
        blogsButton = 'buttonselected'
 | 
			
		||||
    elif boxName == 'tlfeatures':
 | 
			
		||||
        featuresButton = 'buttonselected'
 | 
			
		||||
    elif boxName == 'tlnews':
 | 
			
		||||
        newsButton = 'buttonselected'
 | 
			
		||||
    elif boxName == 'dm':
 | 
			
		||||
| 
						 | 
				
			
			@ -374,7 +377,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
 | 
			
		|||
        tlStr += \
 | 
			
		||||
            headerButtonsTimeline(defaultTimeline, boxName, pageNumber,
 | 
			
		||||
                                  translate, usersPath, mediaButton,
 | 
			
		||||
                                  blogsButton, newsButton, inboxButton,
 | 
			
		||||
                                  blogsButton, featuresButton,
 | 
			
		||||
                                  newsButton, inboxButton,
 | 
			
		||||
                                  dmButton, newDM, repliesButton,
 | 
			
		||||
                                  newReply, minimal, sentButton,
 | 
			
		||||
                                  sharesButtonStr, bookmarksButtonStr,
 | 
			
		||||
| 
						 | 
				
			
			@ -415,7 +419,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
 | 
			
		|||
        tlStr += \
 | 
			
		||||
            headerButtonsTimeline(defaultTimeline, boxName, pageNumber,
 | 
			
		||||
                                  translate, usersPath, mediaButton,
 | 
			
		||||
                                  blogsButton, newsButton, inboxButton,
 | 
			
		||||
                                  blogsButton, featuresButton,
 | 
			
		||||
                                  newsButton, inboxButton,
 | 
			
		||||
                                  dmButton, newDM, repliesButton,
 | 
			
		||||
                                  newReply, minimal, sentButton,
 | 
			
		||||
                                  sharesButtonStr, bookmarksButtonStr,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue