Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Castellum
castellum_scheduler
Commits
590ad0df
Commit
590ad0df
authored
Mar 02, 2021
by
Bengfort
Browse files
fixup
7294447b
parent
9d0207e0
Pipeline
#9075
passed with stages
in 7 minutes and 21 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scheduler/main/templates/main/schedule_confirm_delete.html
View file @
590ad0df
...
...
@@ -8,7 +8,7 @@
{% csrf_token %}
<p>
{% translate 'Are you sure you want to delete this schedule?' %}
</p>
<div
class=
"d-print-none mb-3"
>
<a
href=
"{% url 'schedule-update' object.
pk
%}"
class=
"btn btn-outline-primary mb-1"
>
{% translate 'Cancel' %}
</a>
<a
href=
"{% url 'schedule-update' object.
uuid
%}"
class=
"btn btn-outline-primary mb-1"
>
{% translate 'Cancel' %}
</a>
<button
class=
"btn btn-danger mb-1"
>
{% translate 'Confirm' %}
</button>
</div>
</form>
...
...
scheduler/main/templates/main/schedule_form.html
View file @
590ad0df
...
...
@@ -80,7 +80,7 @@
<div
class=
"d-print-none mb-3"
>
<button
class=
"btn btn-primary"
>
{% translate 'Save' %}
</button>
{% if object %}
<a
href=
"{% url 'schedule-delete' object.
pk
%}"
class=
"btn btn-danger"
>
{% translate 'Delete' %}
</a>
<a
href=
"{% url 'schedule-delete' object.
uuid
%}"
class=
"btn btn-danger"
>
{% translate 'Delete' %}
</a>
{% endif %}
</div>
</form>
...
...
scheduler/main/templates/main/schedule_list.html
View file @
590ad0df
...
...
@@ -8,7 +8,7 @@
<div
class=
"list-group my-3"
>
{% for schedule in object_list %}
<a
class=
"list-group-item list-group-item-action"
href=
"{% url 'schedule-update' schedule.
pk
%}"
>
{{ schedule }}
</a>
<a
class=
"list-group-item list-group-item-action"
href=
"{% url 'schedule-update' schedule.
uuid
%}"
>
{{ schedule }}
</a>
{% endfor %}
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment