mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 09:44:41 +02:00
Added simple info page for projects
This commit is contained in:
parent
855b3070bb
commit
d5b1c6be0a
12 changed files with 647 additions and 76 deletions
19
templates/Projects/info.html.twig
Normal file
19
templates/Projects/info.html.twig
Normal file
|
@ -0,0 +1,19 @@
|
|||
{% extends "base.html.twig" %}
|
||||
|
||||
{% import "components/datatables.macro.html.twig" as datatables %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}parts_list.category.title{% endtrans %} {{ project.name }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% include "Projects/_info_card.html.twig" %}
|
||||
|
||||
{{ datatables.datatable(datatable, 'elements/datatables/datatables', 'projects') }}
|
||||
|
||||
{# {% include "Parts/lists/_action_bar.html.twig" with {'url_options': {'category': entity.iD}} %}
|
||||
|
||||
{% include "Parts/lists/_parts_list.html.twig" %} #}
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue