2021-04-13 16:53:55 +02:00
|
|
|
{% extends 'generic/object.html' %}
|
|
|
|
{% load helpers %}
|
|
|
|
{% load static %}
|
2023-07-28 22:30:25 +02:00
|
|
|
{% load i18n %}
|
2021-04-13 16:53:55 +02:00
|
|
|
|
|
|
|
{% block breadcrumbs %}
|
2021-07-20 18:14:01 +02:00
|
|
|
{{ block.super }}
|
2021-04-18 20:35:42 +02:00
|
|
|
<li class="breadcrumb-item"><a href="{% url object.assigned_object|viewname:'journal' pk=object.assigned_object.pk %}">{{ object.assigned_object }}</a></li>
|
2021-04-13 16:53:55 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-04-18 20:35:42 +02:00
|
|
|
<div class="row mb-3">
|
2022-03-31 17:40:02 +02:00
|
|
|
<div class="col col-md-5">
|
2021-04-18 20:35:42 +02:00
|
|
|
<div class="card">
|
2024-01-17 22:25:42 +01:00
|
|
|
<h5 class="card-header">{% trans "Journal Entry" %}</h5>
|
|
|
|
<table class="table table-hover attr-table">
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Object" %}</th>
|
|
|
|
<td>{{ object.assigned_object|linkify }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Created" %}</th>
|
2024-04-17 17:46:47 +02:00
|
|
|
<td>{{ object.created|isodatetime:"minutes" }}</td>
|
2024-01-17 22:25:42 +01:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Created By" %}</th>
|
|
|
|
<td>{{ object.created_by }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">{% trans "Kind" %}</th>
|
|
|
|
<td>{% badge object.get_kind_display bg_color=object.get_kind_color %}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2021-04-13 16:53:55 +02:00
|
|
|
</div>
|
2022-03-31 17:40:02 +02:00
|
|
|
{% include 'inc/panels/custom_fields.html' %}
|
|
|
|
{% include 'inc/panels/tags.html' %}
|
2021-04-13 16:53:55 +02:00
|
|
|
</div>
|
2022-03-31 17:40:02 +02:00
|
|
|
<div class="col col-md-7">
|
2021-10-19 20:21:31 +02:00
|
|
|
{% include 'inc/panels/comments.html' %}
|
2021-04-13 16:53:55 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|