Skip to content

Commit eb3882e

Browse files
committed
Rename schedule ui to Pipeline Dashboard
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 6de0d0f commit eb3882e

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

vulnerabilities/templates/navbar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
</div>
2121
</div>
2222
<div class="navbar-end mr-3">
23-
<a class="navbar-item {% active_item 'schedule' %}" href="{% url 'schedule' %}">
24-
Pipeline Schedule
23+
<a class="navbar-item {% active_item 'dashboard' %}" href="{% url 'dashboard' %}">
24+
Pipeline Dashboard
2525
</a>
2626
<a class="navbar-item {% active_item 'api_user_request' %}" href="{% url 'api_user_request' %}" target="_blank">
2727
API

vulnerabilities/templates/pipeline_schedule_list.html renamed to vulnerabilities/templates/pipeline_dashboard.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "base.html" %}
22

33
{% block title %}
4-
Pipeline Schedule
4+
Pipeline Dashboard
55
{% endblock %}
66

77
{% block extrahead %}
@@ -33,7 +33,7 @@
3333

3434
<div class="column is-four-fifths">
3535
<div class="content is-normal">
36-
<h1>Pipeline Schedule</h1>
36+
<h1>Pipeline Dashboard</h1>
3737
<hr />
3838
</div>
3939
<form method="get" class="box px-6 mx-0" action="">

vulnerabilities/templates/pipeline_run_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ <h1>{{ pipeline_name }} Runs</h1>
109109
{% endfor %}
110110
</tbody>
111111
</table>
112-
<a href="{% url 'schedule' %}" class="button is-info mt-4"><i class="fa fa-arrow-left mr-2"></i>Back to Schedules</a>
112+
<a href="{% url 'dashboard' %}" class="button is-info mt-4"><i class="fa fa-arrow-left mr-2"></i>Back to Dashboard</a>
113113
</div>
114114
{% if is_paginated %}
115115
<nav class="pagination is-centered px-5" role="navigation" aria-label="pagination">

vulnerabilities/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def get_context_data(self, **kwargs):
356356
class PipelineScheduleListView(ListView, FormMixin):
357357
model = PipelineSchedule
358358
context_object_name = "schedule_list"
359-
template_name = "pipeline_schedule_list.html"
359+
template_name = "pipeline_dashboard.html"
360360
paginate_by = 20
361361
form_class = PipelineSchedulePackageForm
362362

vulnerablecode/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def __init__(self, *args, **kwargs):
7373
name="home",
7474
),
7575
path(
76-
"pipelines/schedule/",
76+
"pipelines/dashboard/",
7777
PipelineScheduleListView.as_view(),
78-
name="schedule",
78+
name="dashboard",
7979
),
8080
path(
8181
"pipelines/<str:pipeline_id>/runs/",

0 commit comments

Comments
 (0)