mirror of
				https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
				synced 2024-08-15 00:53:38 +00:00 
			
		
		
		
	Add author thumbnail and published to YouTube comments
This commit is contained in:
		
							parent
							
								
									dc2fde6c38
								
							
						
					
					
						commit
						c776e1f82a
					
				
					 1 changed files with 13 additions and 8 deletions
				
			
		|  | @ -88,15 +88,20 @@ def template_youtube_comments(comments) | |||
| 
 | ||||
|     html += <<-END_HTML | ||||
|     <div class="pure-g"> | ||||
|       <div class="pure-u-1"> | ||||
|       <div class="pure-u-2-24"> | ||||
|         <img style="width:90%; padding-right:1em; padding-top:1em;" src="#{child["authorThumbnails"][0]["url"]}"> | ||||
|       </div> | ||||
|       <div class="pure-u-22-24"> | ||||
|         <p> | ||||
|           <a href="javascript:void(0)" onclick="toggle(this)">[ - ]</a>  | ||||
|           <i class="icon ion-ios-thumbs-up"></i> #{child["likeCount"]}  | ||||
|           <b><a href="#{child["authorUrl"]}">#{child["author"]}</a></b> | ||||
|         </p> | ||||
|         <div> | ||||
|         #{child["content"]} | ||||
|         #{replies_html} | ||||
|             <a href="javascript:void(0)" onclick="toggle(this)">[ - ]</a>  | ||||
|             <i class="icon ion-ios-thumbs-up"></i> #{child["likeCount"]}  | ||||
|             <b><a href="#{child["authorUrl"]}">#{child["author"]}</a></b>  | ||||
|             - #{recode_date(Time.epoch(child["published"].as_i64))} ago | ||||
|           </p> | ||||
|           <div> | ||||
|           #{child["content"]} | ||||
|           #{replies_html} | ||||
|           </div> | ||||
|         </div> | ||||
|       </div> | ||||
|     </div> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue