Skip to content

Commit

Permalink
Merge pull request #35 from arthur-schnitzler/main
Browse files Browse the repository at this point in the history
create button -> icon
  • Loading branch information
csae8092 authored Jan 12, 2024
2 parents a709bf4 + 132c39b commit aca4ca4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apis_core/apis_entities/templates/apis_entities/list_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
<h1 class="display-1 text-center apis-{{ entity }}">
<i class="{{ icon }}"> {{ verbose_name }}</i>
</h1>
{% if user.is_authenticated %}{% if create_view_link %}
<h2 class="text-center">
<a href="{{ create_view_link }}">
<i class="bi bi-plus-square" title="neues Objekt anlegen"></i>
</a>
</h2>
{% endif %}{% endif %}
<div class="row">
<div class="col-md-4" id="searchpane">
<h2 class="text-center">Suchen & Filtern</h2>
Expand Down Expand Up @@ -45,13 +52,6 @@ <h2 class="text-center">{{ total }} Result(s)</h2>
</div>
</div>
</div>
{% if user.is_authenticated %}
{% if create_view_link %}
<div class="d-grid gap-2">
<a class="btn btn-primary float-center ms-5 me-5" href="{{ create_view_link }}">Create new {{ class_name }}</a>
</div>
{% endif %}
{% endif %}

</div>
{% endblock %}
Expand Down

0 comments on commit aca4ca4

Please sign in to comment.