Initial commit
This commit is contained in:
48
templates/_dashboard/node/show.html.twig
Normal file
48
templates/_dashboard/node/show.html.twig
Normal file
@ -0,0 +1,48 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}Node{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Node</h1>
|
||||
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ node.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Quantity</th>
|
||||
<td>{{ node.quantity }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Coordinate</th>
|
||||
<td>{{ node.coordinate ? node.coordinate|json_encode : '' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Youtube</th>
|
||||
<td>{{ node.youtube }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>CreateAt</th>
|
||||
<td>{{ node.createAt ? node.createAt|date('Y-m-d H:i:s') : '' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>ModifiedAt</th>
|
||||
<td>{{ node.modifiedAt ? node.modifiedAt|date('Y-m-d H:i:s') : '' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Version</th>
|
||||
<td>{{ node.version }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>IsDeleted</th>
|
||||
<td>{{ node.isDeleted ? 'Yes' : 'No' }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('bo_node_edit', {'gridId': grid.id, 'worldmarkId': worldmark.id, 'id': node.id}) }}">edit</a>
|
||||
|
||||
{{ include('node/_delete_form.html.twig') }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user