Skip to content

Commit 74bf45e

Browse files
committed
fix spacing
Signed-off-by: Aayush Kumar <[email protected]>
1 parent 9c0e586 commit 74bf45e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

scanpipe/templates/scanpipe/panels/resource_table_panel.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33
<div class="has-text-weight-semibold is-flex is-align-items-center is-family-monospace">
44
{% if path_segments %}
55
<span id="resource-path" class="has-text-weight-medium">
6-
{% for subpath, segment in path_segments %}{% if not forloop.first %}/{% endif %}{% if not forloop.last %}<a href="#" class="expand-in-tree has-text-link" data-path="{{ subpath }}" hx-get="{% url 'codebase_resource_table' project.slug %}?path={{ subpath }}" hx-target="#right-pane">{{ segment }}</a>{% else %}<span>{{ segment }}</span>{% endif %}{% endfor %}
6+
{% spaceless %}
7+
{% for subpath, segment in path_segments %}
8+
{% if not forloop.first %}<span class="mx-1">/</span>{% endif %}
9+
{% if not forloop.last %}
10+
<a href="#" class="expand-in-tree has-text-link" data-path="{{ subpath }}" hx-get="{% url 'codebase_resource_table' project.slug %}?path={{ subpath }}" hx-target="#right-pane">{{ segment }}</a>
11+
{% else %}
12+
<span>{{ segment }}</span>
13+
{% endif %}
14+
{% endfor %}
15+
{% endspaceless %}
716
</span>
817
<button class="copy-to-clipboard ml-2 is-size-6 is-shadowless is-white" aria-label="Copy path" data-copy="{{ path }}" data-copy-feedback="Path copied!">
918
<i class="fa-regular fa-copy"></i>

0 commit comments

Comments
 (0)