Nodes View: Remove unnecessary containers
#node-container and #node-overlay were not used.
This commit is contained in:
parent
77f855be3e
commit
1c42e8fd07
@ -1,22 +1,20 @@
|
||||
| {% block body %}
|
||||
#node-container
|
||||
#node-overlay
|
||||
|
||||
| {% block node_preview %}
|
||||
| {% if node.picture %}
|
||||
| {% if current_user.has_cap('subscriber') or node.permissions.world %}
|
||||
section.node-preview.image.js-node-preview-image
|
||||
| {% block node_preview %}
|
||||
| {% if node.picture %}
|
||||
| {% if current_user.has_cap('subscriber') or node.permissions.world %}
|
||||
section.node-preview.image.js-node-preview-image
|
||||
img.node-preview-thumbnail(src="{{ node.picture.thumbnail('l', api=api) }}")
|
||||
| {% else %}
|
||||
| {% include 'nodes/custom/_node_preview_forbidden.html' %}
|
||||
| {% endif %}
|
||||
| {% endif %}
|
||||
| {% endblock node_preview %}
|
||||
| {% else %}
|
||||
| {% include 'nodes/custom/_node_preview_forbidden.html' %}
|
||||
| {% endif %}
|
||||
| {% endif %}
|
||||
| {% endblock node_preview %}
|
||||
|
||||
| {% block node_details %}
|
||||
| {% block node_details %}
|
||||
|
||||
| {# NAME #}
|
||||
section.px-4
|
||||
| {# NAME #}
|
||||
section.px-4
|
||||
h4.pt-4.mb-3 {{node.name}}
|
||||
|
||||
| {# DESCRIPTION #}
|
||||
@ -25,8 +23,8 @@
|
||||
| {{ node | markdowned('description') }}
|
||||
| {% endif %}
|
||||
|
||||
| {# DETAILS #}
|
||||
section.node-details-meta.pl-4.pr-2.py-2.border-bottom
|
||||
| {# DETAILS #}
|
||||
section.node-details-meta.pl-4.pr-2.py-2.border-bottom
|
||||
ul.list-unstyled.m-0
|
||||
| {% if node.properties.license_type %}
|
||||
li.px-2
|
||||
@ -112,7 +110,7 @@
|
||||
| Download
|
||||
| {% endif %}
|
||||
|
||||
| {% endblock node_details %}
|
||||
| {% endblock node_details %}
|
||||
.container-fluid
|
||||
.row
|
||||
| {% block node_comments %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user