forked from indymedia/epicyon
				
			image links directly to post
							parent
							
								
									c07387d4ff
								
							
						
					
					
						commit
						bc9ece83e7
					
				| 
						 | 
				
			
			@ -782,13 +782,6 @@ div.gallery img {
 | 
			
		|||
    height: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
div.gallery img.galleryIcon {
 | 
			
		||||
    position: relative;
 | 
			
		||||
    top: 0%;
 | 
			
		||||
    right: 0%;
 | 
			
		||||
    width: 10%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
div.imagedesc {
 | 
			
		||||
    padding: 22px;
 | 
			
		||||
    text-align: center;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 3.7 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 4.3 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 3.7 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 4.7 KiB  | 
| 
						 | 
				
			
			@ -139,6 +139,5 @@
 | 
			
		|||
    "Page up": "Tudalen i fyny",
 | 
			
		||||
    "Vote": "Bleidleisio",
 | 
			
		||||
    "Replies": "Atebion",
 | 
			
		||||
    "Media": "Media",
 | 
			
		||||
    "Show original post": "Show original post"
 | 
			
		||||
    "Media": "Media"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -139,6 +139,5 @@
 | 
			
		|||
    "Page up": "Bild auf",
 | 
			
		||||
    "Vote": "Abstimmung",
 | 
			
		||||
    "Replies": "Antworten",
 | 
			
		||||
    "Media": "Media",
 | 
			
		||||
    "Show original post": "Show original post"
 | 
			
		||||
    "Media": "Media"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -139,6 +139,5 @@
 | 
			
		|||
    "Page up": "Page up",
 | 
			
		||||
    "Vote": "Vote",
 | 
			
		||||
    "Replies": "Replies",
 | 
			
		||||
    "Media": "Media",
 | 
			
		||||
    "Show original post": "Show original post"
 | 
			
		||||
    "Media": "Media"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -139,6 +139,5 @@
 | 
			
		|||
    "Page up": "Página arriba",
 | 
			
		||||
    "Vote": "Votar",
 | 
			
		||||
    "Replies": "Resp",
 | 
			
		||||
    "Media": "Media",
 | 
			
		||||
    "Show original post": "Show original post"
 | 
			
		||||
    "Media": "Media"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -139,6 +139,5 @@
 | 
			
		|||
    "Page up": "Haut de page",
 | 
			
		||||
    "Vote": "Vote",
 | 
			
		||||
    "Replies": "Réponses",
 | 
			
		||||
    "Media": "Media",
 | 
			
		||||
    "Show original post": "Show original post"
 | 
			
		||||
    "Media": "Media"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -139,6 +139,5 @@
 | 
			
		|||
    "Page up": "Leathanach suas",
 | 
			
		||||
    "Vote": "Vóta",
 | 
			
		||||
    "Replies": "Freagraí",
 | 
			
		||||
    "Media": "Media",
 | 
			
		||||
    "Show original post": "Show original post"
 | 
			
		||||
    "Media": "Media"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -139,6 +139,5 @@
 | 
			
		|||
    "Page up": "Pagina su",
 | 
			
		||||
    "Vote": "Voto",
 | 
			
		||||
    "Replies": "Risposte",
 | 
			
		||||
    "Media": "Media",
 | 
			
		||||
    "Show original post": "Show original post"
 | 
			
		||||
    "Media": "Media"
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1879,10 +1879,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
 | 
			
		|||
                            if boxName=='tlmedia':
 | 
			
		||||
                                galleryStr+= \
 | 
			
		||||
                                    '<div class="gallery">\n' \
 | 
			
		||||
                                    '  <a href="'+attach['url']+'">\n' \
 | 
			
		||||
                                    '  <a href="'+messageId+'">\n' \
 | 
			
		||||
                                    '    <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
 | 
			
		||||
                                    '  </a>\n' \
 | 
			
		||||
                                    '  <center><a href="'+messageId+'"><img src="/'+iconsDir+'/gallery.png" class="galleryIcon" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a></center>\n'
 | 
			
		||||
                                #if postJsonObject['object'].get('content'):
 | 
			
		||||
                                #    galleryStr+= \
 | 
			
		||||
                                #        '  <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue