-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
App Datenmanagement: Navigation überarbeitet
- Loading branch information
Showing
7 changed files
with
97 additions
and
10 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
datenmanagement/templates/datenmanagement/add_another.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "navbar.html" %} | ||
{% load datenmanagement_tags %} | ||
|
||
{% block title %}{{ model_verbose_name_plural }} – weiterer Datensatz? | {% endblock %} | ||
|
||
{% block content %} | ||
{% if messages %} | ||
{% for message in messages %} | ||
{% if message.tags and message.tags == 'success' %} | ||
<div class="alert alert-success" role="alert"> | ||
<i class="fa-solid fa-circle-check"></i> | ||
{{ message|safe }} | ||
</div> | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
<h5> | ||
<small> | ||
Möchten Sie den soeben erfolgreich angelegten Datensatz <strong><em>{{ object }}</em></strong> nochmal bearbeiten oder ihn als Vorlage für einen weiteren Datensatz zum Datenthema <strong>{{ model_verbose_name_plural }}</strong> verwenden? | ||
</small> | ||
</h5> | ||
<div class="d-grid mt-4 gap-2 d-md-block"> | ||
<a class="btn btn-success" role="button" href="{{ url_yes }}"><i class="fas fa-clone"></i> ja</a> | ||
<a class="btn btn-warning" role="button" href="{{ url_no }}"><i class="fas fa-hand"></i> nein</a> | ||
</div> | ||
<script> | ||
setTimeout(function () { | ||
$('.alert-success').alert('close'); | ||
}, 3000); | ||
</script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters