Przeglądaj źródła

Remove photo widths niffing in photo details

Colin Powell 5 lat temu
rodzic
commit
85bb128a27
1 zmienionych plików z 0 dodań i 31 usunięć
  1. 0 31
      pbp_com/templates/darkroom/photo_detail.html

+ 0 - 31
pbp_com/templates/darkroom/photo_detail.html

@@ -24,7 +24,6 @@
 		<p><span class="headline">{{object.title}}</span></p>
 	</div>
 	
-	{% if object.image.width >= object.image.height %}
 	<div style="padding-left:12px; width:756px">
 	<div style="float:left; padding-right:14px; padding-bottom:12px; display:table; width:100px">
 		<img src="{{object.get_detail_url}}" alt="{{object.title}}" order="0">
@@ -50,36 +49,6 @@
 	</div>
 	</div>
 	</div>	
-	{% endif %}
-	
-	{% if object.image.width < object.image.height %}
-	<div style="padding-left:12px; width:756px">
-	<div style="float:left; padding-right:14px; padding-bottom:12px; padding-left:12px">
-		<img src="{{object.get_detail_url}}" alt="{{photo.title}}" order="0">
-	</div>	
-	<div style="float:left; padding-top:150px; width:250px">
-		{% load markup typogrify humanize  %}
-		<div class="newcutline">{{object.description|urlize|markdown|typogrify}}</div>
-		{% if object.photographer %}
-			<p class="photobyline">Photo by {{object.photographer}}</p>
-		{% endif %}
-		{% if object.courtesy %}
-			<p class="photobyline">Photo courtesy {{object.courtesy}}</p>
-		{% endif %}
-		{% if object.file_photo %}
-			<p class="photobyline">Penobscot Bay Press file photo</p>
-		{% endif %}
-		{% if object.story_set.all %}
-			<p class="relatedstory" style="text-align:left"> 
-			{% for s in object.story_set.all %}
-				<a href="{{s.get_absolute_url}}" alt="{{s}}">Related story</a>
-			{% endfor %}
-			</p>
-		{% endif %}
-
-	</div>
-	</div>
-	{% endif %}
 	<div style="clear:both"></div>
 	</div>
 <div class="sidebar_right_media" style="background-color:#99CCFF; padding:0px">