Commit 00aa6385805065c30737b1d99b24de64f960e8e5

Authored by Zambom
1 parent 8829fdaf

Adding missing div closing in pdf view file

Showing 1 changed file with 16 additions and 15 deletions   Show diff stats
pdf_file/templates/pdf_file/view.html
... ... @@ -33,23 +33,24 @@
33 33 <div class="panel panel-info topic-panel-invisible">
34 34 <div class="panel-heading panel-invisible">
35 35 {% endif %}
36   - <div class="row">
37   - <div class="col-md-12 category-header">
38   - <h4 class="panel-title" style="margin-top: 10px; margin-bottom: 8px">
39   - <span>{{pdf_file}}</span>
40   - </h4>
41   -
42   - <div class="col-md-5 pull-right category-card-items">
43   - <a href="{% url 'mural:resource_view' pdf_file.slug %}" class="pull-right action_icon">
44   - <i class="fa fa-list" aria-hidden="true"></i>
45   - {% resource_mural_number pdf_file request.user %}
46   - </a>
  36 + <div class="row">
  37 + <div class="col-md-12 category-header">
  38 + <h4 class="panel-title" style="margin-top: 10px; margin-bottom: 8px">
  39 + <span>{{pdf_file}}</span>
  40 + </h4>
  41 +
  42 + <div class="col-md-5 pull-right category-card-items">
  43 + <a href="{% url 'mural:resource_view' pdf_file.slug %}" class="pull-right action_icon">
  44 + <i class="fa fa-list" aria-hidden="true"></i>
  45 + {% resource_mural_number pdf_file request.user %}
  46 + </a>
  47 + </div>
47 48 </div>
48 49 </div>
49 50 </div>
  51 + <object width="100%" height="800px" type="application/pdf" data="{{pdf_file.file.url}}" id="pdf_content">
  52 + <iframe id="pdfviewer" src="https://docs.google.com/gview?embedded=true&url={{ absolute_url }}" frameborder="0" width="100%" height="800px"></iframe>
  53 + {# <p>{% trans "PDF could not be displayed" %}</p> #}
  54 + </object>
50 55 </div>
51   - <object width="100%" height="800px" type="application/pdf" data="{{pdf_file.file.url}}" id="pdf_content">
52   - <iframe id="pdfviewer" src="https://docs.google.com/gview?embedded=true&url={{ absolute_url }}" frameborder="0" width="100%" height="800px"></iframe>
53   - {# <p>{% trans "PDF could not be displayed" %}</p> #}
54   - </object>
55 56 {% endblock content %}
56 57 \ No newline at end of file
... ...