Commit dfe01a4d authored by ViolanteCodes's avatar ViolanteCodes
Browse files

added blocks to not display logc in issue_detail.html when gitlab times out

parent cc748936
......@@ -15,10 +15,12 @@
</h3>
<div class="row justify-content-between">
<p class="col-auto mb-0 small pb-0 pt-0">
{% if results.issue.created_at %}
<a href="{{results.go_back_url}}">
{{results.project.name_with_namespace}}
</a>
({{results.project.id}}) / issues / #{{results.issue.iid}}
{% endif %}
</p>
<p class="col-auto text-muted small mb-0 pb-0 pt-0 text-right">
{% if results.issue.created_at %}
......@@ -29,6 +31,7 @@
</div>
<hr class="mb-0 mt-0">
<div class="row justify-content-between">
{% if results.issue.created_at %}
<div class="col-auto">
<p class="mb-0 small pb-0 pt-0">
{% if results.issue.milestone.title %}
......@@ -52,6 +55,7 @@
<a class="btn btn-sm btn-primary bg success ml-2 px-1 py-0" href="{{results.new_note_link}}">New Note</a>
</p>
</div>
{% endif %}
</div>
<div class="row mt-5">
<div class="col-12">
......@@ -120,10 +124,14 @@
<div class="col-12 p-2">
<div class="card mb-2">
<div class="card-body">
<p class="card-text text-muted">{{note.noteable_type|title}}
<p class="card-text text-muted">
{% if note.author %}
{{note.noteable_type|title}}
note by @{{note.author.username}},
Created: {{note.created_at|pretty_datetime}},
Last Updated: {{note.updated_at|pretty_datetime}}</p>
Last Updated: {{note.updated_at|pretty_datetime}}
{% else %}{% endif %}
</p>
<p class="card-text">{{note.body|markdownify}}</p>
</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