Skip to content

Commit e665feb

Browse files
committed
Revert filtering support and add reviewed changes
Signed-off-by: Aayush Kumar <[email protected]>
1 parent d7dfce4 commit e665feb

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

scanpipe/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def delete(self, *args, **kwargs):
232232
Note that projects with queued or running pipeline runs cannot be deleted.
233233
See the `_raise_if_run_in_progress` method.
234234
The following if statements should not be triggered unless the `.delete()`
235-
method is directly call from a instance of this class.
235+
method is directly call from an instance of this class.
236236
"""
237237
with suppress(redis.exceptions.ConnectionError, AttributeError):
238238
if self.status == self.Status.RUNNING:

scanpipe/templates/scanpipe/panels/project_codebase.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<nav id="codebase-navigation" class="panel is-dark">
2-
<p class="panel-heading">
3-
Codebase
4-
<a href="{% url 'codebase_resource_tree' project.slug %}" class="ml-2">Click to go to the Tree View</a>
2+
<p class="panel-heading is-flex is-justify-content-space-between is-align-items-center">
3+
<span>Codebase</span>
4+
<a href="{% url 'codebase_resource_tree' project.slug %}" class="ml-2 has-text-white has-text-decoration-none">
5+
<i class="fa-solid fa-folder-tree mr-1"></i>Tree view
6+
</a>
57
{% if current_dir and current_dir != "." %}
68
<span class="tag ml-2">
79
{% for dir_name, full_path in codebase_breadcrumbs.items %}

scanpipe/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
name="codebase_resource_tree",
138138
),
139139
path(
140-
"project/<slug:slug>/file-table/",
140+
"project/<slug:slug>/resource_table/",
141141
views.CodebaseResourceTableView.as_view(),
142142
name="codebase_resource_table",
143143
),

0 commit comments

Comments
 (0)