Commit 59d6e489 authored by ViolanteCodes's avatar ViolanteCodes
Browse files

added conditional logic (required updated_at date) to display summary block

parent 04de1056
......@@ -21,7 +21,10 @@
({{results.project.id}}) / issues / #{{results.issue.iid}}
</p>
<p class="col-auto text-muted small mb-0 pb-0 pt-0 text-right">
{% if results.issue.create_at %}
Created {{results.issue.created_at|pretty_datetime}} by @{{results.issue.author.username}}
{% else %}
{% endif %}
</p>
</div>
<hr class="mb-0 mt-0">
......@@ -75,7 +78,7 @@
{% block content %}
<!-- Issue Summary Block -->
{% if results.issue %}
{% if results.issue.updated_at %}
<div class="row mt-3">
<div class="col-12">
<h4 class="card-title">Issue Summary</h4>
......@@ -86,6 +89,7 @@
</ul>
</div>
</div>
{% else %}
{% endif %}
<!-- Generate a Back to Landing URL Link -->
{% url 'user-landing' results.user_identifier as go_back_url %}
......@@ -101,7 +105,7 @@
<!-- Note Header Block -->
<div class="row mt-5">
<div class="col-12 p-2">
<h4 class="card-title">Project Notes</h4>
<h4 class="card-title">Issue Notes</h4>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment