Skip to content

Commit

Permalink
[#858] Whitespace cleanup ckan/templates/dataviewer/snippets/data_pre…
Browse files Browse the repository at this point in the history
…view.html
  • Loading branch information
johnmartin committed Aug 6, 2013
1 parent fafbd3a commit 1c20c12
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions ckan/templates/dataviewer/snippets/data_preview.html
Expand Up @@ -3,24 +3,24 @@
{# images can be embedded directly #}
<img src="{{ resource_url }}"></img>
{% else %}
<div class="data-viewer-error js-hide">
<p class="text-error">
<i class="icon-info-sign"></i>
{{ _('This resource can not be previewed at the moment.') }}
<a href="#" data-toggle="collapse" data-target="#data-view-error">
{{ _('Click here for more information.') }}
</a>
</p>
<p id="data-view-error" class="collapse"></p>
<p>
<a href="{{ raw_resource_url }}" class="btn btn-large resource-url-analytics" target="_blank">
<i class="icon-large icon-download"></i>
{{ _('Download resource') }}
</a>
</p>
</div>
<iframe src="{{ resource_url }}" frameborder="0" width="100%" data-module="data-viewer">
<p>{{ _('Your browser does not support iframes.') }}</p>
</iframe>
<div class="data-viewer-error js-hide">
<p class="text-error">
<i class="icon-info-sign"></i>
{{ _('This resource can not be previewed at the moment.') }}
<a href="#" data-toggle="collapse" data-target="#data-view-error">
{{ _('Click here for more information.') }}
</a>
</p>
<p id="data-view-error" class="collapse"></p>
<p>
<a href="{{ raw_resource_url }}" class="btn btn-large resource-url-analytics" target="_blank">
<i class="icon-large icon-download"></i>
{{ _('Download resource') }}
</a>
</p>
</div>
<iframe src="{{ resource_url }}" frameborder="0" width="100%" data-module="data-viewer">
<p>{{ _('Your browser does not support iframes.') }}</p>
</iframe>
{% endif %}
</div>

0 comments on commit 1c20c12

Please sign in to comment.