Switch to side-by-side view

--- a/Allura/allura/templates/widgets/project_summary.html
+++ b/Allura/allura/templates/widgets/project_summary.html
@@ -1,35 +1,31 @@
 {% if display_mode == 'list' %}
 <div class="list card{% if show_proj_icon%} proj_icon{% endif %}"
 	{%- if columns == 2 %} style="width: 330px"{% elif columns == 3 %} style="width: 220px"{% endif %}>
-  {% if show_proj_icon == True %}
-   {% if accolades and show_awards_banner == True %}
+  {% if accolades and show_awards_banner %}
     <div class="box notch sponsor">
       <div class="feature">{{accolades[0].award.short}}</div>
-      <img src="{{icon_url}}" alt="{{value.name}} Logo"/>
+      {% if show_proj_icon and icon_url %}<img src="{{icon_url}}" alt="{{value.name}} Logo"/>{% endif %}
     </div>
-   {% else %}
+  {% elif show_proj_icon and icon_url %}
     <div class="box">
       <img src="{{icon_url}}" alt="{{value.name}} Logo"/>
     </div>
-   {% endif %}
   {% endif %}
   <h2><a href="{{value.url()}}">{{value.name}}</a></h2>
   <p class="desc">{% if value.summary %}{{value.summary}}{% else %}{{h.text.truncate(value.short_description, 50)}}{% endif %}</p>
-  {% if show_download_button == True %}{{g.markdown_wiki.convert('[[download_button]]')}}{% endif %}
+  {% if show_download_button %}{{g.markdown_wiki.convert('[[download_button]]')}}{% endif %}
 </div>
 {% else %}
   <div class="border card">
-    {% if show_proj_icon == True %}
-     {% if accolades and show_awards_banner == True %}
+    {% if accolades and show_awards_banner %}
       <div class="box notch sponsor">
         <div class="feature">{{accolades[0].award.short}}</div>
-        <img src="{{icon_url}}" alt="{{value.name}} Logo"/>
+        {% if show_proj_icon and icon_url %}<img src="{{icon_url}}" alt="{{value.name}} Logo"/>{% endif %}
       </div>
-     {% else %}
+    {% elif show_proj_icon and icon_url %}
       <div class="box">
         <img src="{{icon_url}}" alt="{{value.name}} Logo"/>
       </div>
-     {% endif %}
     {% endif %}
     <h2><a href="{{value.url()}}">{{value.name}}</a></h2>
     <p class="desc">{% if value.summary %}{{value.summary}}{% else %}{{h.text.truncate(value.short_description, 50)}}{% endif %}</p>