Skip to content

Commit

Permalink
Don't show image if not url (internal site)
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jul 14, 2014
1 parent c7a22e5 commit d4578d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/instance.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<article class="instance {{#if featured}} featured{{/if}}" {{#each facets}} data-facet-{{key}}="{{value}}"{{/each}}>
<img src="images/instance/{{id}}.png" width="274" height="196">
{{#if url }}<img src="images/instance/{{id}}.png" width="274" height="196">{{/if}}
<h2>{{title}}</h2>
<p class="description">{{description}}</p>
<p class="meta"><i class="icon-globe"></i> {{location}}</p>
Expand Down

0 comments on commit d4578d2

Please sign in to comment.