We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9ff56 commit f32742cCopy full SHA for f32742c
modules/admin/templates/metadata_converter.twig
@@ -34,7 +34,7 @@
34
{% for type, text in output -%}
35
{%- if text -%}
36
<div class="code-box">
37
- <div class="code-box-title">
+ <div id="metadata{{ loop.index }}" class="code-box-title">
38
<h3>{{ type }}</h3>
39
<button data-clipboard-target="#metadata{{ loop.index }}" id="btn{{ loop.index }}" class="pure-button right clipboard-btn copy">
40
<i class="fa fa-copy"></i>
@@ -59,5 +59,7 @@
59
{% endif -%}
60
{% endblock content -%}
61
{% block postload %}
62
+{% if upload %}
63
<script src="{{ asset('js/metadata-converter.js', 'admin') }}"></script>
64
+{% endif %}
65
{% endblock postload %}
0 commit comments