Proxify images inside infoboxes
This commit is contained in:
		
							parent
							
								
									b6d27aca59
								
							
						
					
					
						commit
						9154cf7930
					
				| @ -1,6 +1,6 @@ | |||||||
| <div class="infobox"> | <div class="infobox"> | ||||||
|     <h2>{{ infobox.infobox }}</h2> |     <h2>{{ infobox.infobox }}</h2> | ||||||
|     {% if infobox.img_src %}<img src="{{ infobox.img_src }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %} |     {% if infobox.img_src %}<img src="{{ image_proxify(infobox.img_src) }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %} | ||||||
|     <p>{{ infobox.entity }}</p> |     <p>{{ infobox.entity }}</p> | ||||||
|     <p>{{ infobox.content | safe }}</p> |     <p>{{ infobox.content | safe }}</p> | ||||||
|     {% if infobox.attributes %} |     {% if infobox.attributes %} | ||||||
|  | |||||||
| @ -3,7 +3,7 @@ | |||||||
|         <h4 class="panel-title">{{ infobox.infobox }}</h4> |         <h4 class="panel-title">{{ infobox.infobox }}</h4> | ||||||
|     </div> |     </div> | ||||||
|     <div class="panel-body"> |     <div class="panel-body"> | ||||||
|         {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" alt="{{ infobox.infobox }}" />{% endif %} |         {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ image_proxify(infobox.img_src) }}" alt="{{ infobox.infobox }}" />{% endif %} | ||||||
|         {% if infobox.content %}<p class="infobox_part">{{ infobox.content }}</p>{% endif %} |         {% if infobox.content %}<p class="infobox_part">{{ infobox.content }}</p>{% endif %} | ||||||
| 
 | 
 | ||||||
|         {% if infobox.attributes %} |         {% if infobox.attributes %} | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user