-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #6150: Enable change logging for journal entries
- Loading branch information
1 parent
e5bbf47
commit a296a9e
Showing
7 changed files
with
77 additions
and
11 deletions.
There are no files selected for viewing
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
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,57 @@ | ||
{% extends 'generic/object.html' %} | ||
{% load helpers %} | ||
{% load static %} | ||
|
||
{% block breadcrumbs %} | ||
<li><a href="{% url 'extras:journalentry_list' %}">Journal Entries</a></li> | ||
<li><a href="{% url object.assigned_object|viewname:'journal' pk=object.assigned_object.pk %}">{{ object.assigned_object }}</a></li> | ||
<li>{{ object }}</li> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="row"> | ||
<div class="col-md-4"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<strong>Journal Entry</strong> | ||
</div> | ||
<table class="table table-hover panel-body attr-table"> | ||
<tr> | ||
<td>Object</td> | ||
<td> | ||
<a href="{{ object.assigned_object.get_absolute_url }}">{{ object.assigned_object }}</a> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Created</td> | ||
<td> | ||
{{ object.created }} | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Created By</td> | ||
<td> | ||
{{ object.created_by }} | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Kind</td> | ||
<td> | ||
<span class="label label-{{ object.get_kind_class }}">{{ object.get_kind_display }}</span> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
<div class="col-md-8"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<strong>Comments</strong> | ||
</div> | ||
<div class="panel-body"> | ||
{{ object.comments|render_markdown }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |