#50 Replaced photo albums with external links in templates.
This commit is contained in:
		@@ -104,16 +104,16 @@
 | 
			
		||||
</section>
 | 
			
		||||
 | 
			
		||||
<section class=" LP-Section">
 | 
			
		||||
	<h1 class="LP-Headline">{% translate 'Photo albums submitted by' %} {{explorer.user.username}}</h1>
 | 
			
		||||
	<h1 class="LP-Headline">{% translate 'External links submitted by' %} {{explorer.user.username}}</h1>
 | 
			
		||||
	<div class="LP-LinkList">
 | 
			
		||||
		<ul class="LP-LinkList__Container">
 | 
			
		||||
			{% for photo_album in assets.photoalbums.all %}
 | 
			
		||||
			{% for external_link in assets.externallinks.all %}
 | 
			
		||||
			<li class="LP-LinkList__Item">
 | 
			
		||||
				<a target="_blank" href="{{photo_album.url}}" class="LP-Link">
 | 
			
		||||
					<span class="LP-Text">{{photo_album.label}}</span>
 | 
			
		||||
				<a target="_blank" href="{{external_link.url}}" class="LP-Link">
 | 
			
		||||
					<span class="LP-Text">{{external_link.label}}</span>
 | 
			
		||||
				</a>
 | 
			
		||||
				{% if user.explorer == photo_album.submitted_by%}
 | 
			
		||||
				<a href="{% url 'photo_album_delete' pk=photo_album.pk%}" class="LP-Link LP-LinkList__ItemHover" title="Delete Photo Album">
 | 
			
		||||
				{% if user.explorer == external_link.submitted_by%}
 | 
			
		||||
				<a href="{% url 'external_link_delete' pk=external_link.pk%}" class="LP-Link LP-LinkList__ItemHover" title="Delete Photo Album">
 | 
			
		||||
					<div class="RV-Iconized__Container RV-Iconized__Container--small">
 | 
			
		||||
						{% icon 'trash' className="RV-Iconized__Icon" %}
 | 
			
		||||
					</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user