Nodes View: Remove unnecessary containers

#node-container and #node-overlay were not used.
This commit is contained in:
2018-09-17 14:26:37 +02:00
parent 77f855be3e
commit 1c42e8fd07

View File

@@ -1,22 +1,20 @@
| {% block body %} | {% block body %}
#node-container
#node-overlay
| {% block node_preview %} | {% block node_preview %}
| {% if node.picture %} | {% if node.picture %}
| {% if current_user.has_cap('subscriber') or node.permissions.world %} | {% if current_user.has_cap('subscriber') or node.permissions.world %}
section.node-preview.image.js-node-preview-image section.node-preview.image.js-node-preview-image
img.node-preview-thumbnail(src="{{ node.picture.thumbnail('l', api=api) }}") img.node-preview-thumbnail(src="{{ node.picture.thumbnail('l', api=api) }}")
| {% else %} | {% else %}
| {% include 'nodes/custom/_node_preview_forbidden.html' %} | {% include 'nodes/custom/_node_preview_forbidden.html' %}
| {% endif %} | {% endif %}
| {% endif %} | {% endif %}
| {% endblock node_preview %} | {% endblock node_preview %}
| {% block node_details %} | {% block node_details %}
| {# NAME #} | {# NAME #}
section.px-4 section.px-4
h4.pt-4.mb-3 {{node.name}} h4.pt-4.mb-3 {{node.name}}
| {# DESCRIPTION #} | {# DESCRIPTION #}
@@ -25,8 +23,8 @@
| {{ node | markdowned('description') }} | {{ node | markdowned('description') }}
| {% endif %} | {% endif %}
| {# DETAILS #} | {# DETAILS #}
section.node-details-meta.pl-4.pr-2.py-2.border-bottom section.node-details-meta.pl-4.pr-2.py-2.border-bottom
ul.list-unstyled.m-0 ul.list-unstyled.m-0
| {% if node.properties.license_type %} | {% if node.properties.license_type %}
li.px-2 li.px-2
@@ -112,7 +110,7 @@
| Download | Download
| {% endif %} | {% endif %}
| {% endblock node_details %} | {% endblock node_details %}
.container-fluid .container-fluid
.row .row
| {% block node_comments %} | {% block node_comments %}