Commit e0992b92 authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

patch: Make comments linkable

Add id to comment divs and turn the dates into a hrefs those anchors.
Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent 78715cc6
Pipeline #21741 passed with stage
in 58 seconds
......@@ -217,10 +217,10 @@ function toggle_headers(link_id, headers_id)
<h2>Comments</h2>
{% endif %}
<div class="comment">
<div id="comment_{{ item.pk }}" class="comment">
<div class="meta">
<span>{{ item.submitter|personify:project }}</span>
<span class="pull-right">{{ item.date }}</span>
<a href="#comment_{{ item.pk }}" class="pull-right">{{ item.date }}</a>
</div>
<pre class="content">
{{ item|commentsyntax }}
......
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