feat: Update comment meta info container with clickable author and links
This commit is contained in:
1 parent
2baae0c7a0
commit
fff82bf4ff
1 file changed
+18
-13
+18
-13
@@ -7,9 +7,9 @@
|
||||
{% for comment in top_comments %}
|
||||
<div class="px-0 text-sm border-l-2 border-gray-300 pl-2 mb-4">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2">@{{ comment.author }}</small>
|
||||
<small class="text-text-muted ml-2">{{ comment.date | date: "%b %d, %Y" }}</small>
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm"><a href="#" class="text-text-muted hover:underline">@{{ comment.author }}</a></small>
|
||||
<small class="text-text-muted ml-2 text-sm">{{ comment.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a></small>
|
||||
</div>
|
||||
<p>{{ comment.content }}</p>
|
||||
<small class="text-right underline text-xs cursor-pointer mt-1 inline-block">reply</small>
|
||||
@@ -18,8 +18,9 @@
|
||||
{% for reply1 in replies1 %}
|
||||
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
|
||||
<div class="mb-1">
|
||||
<small class="text-text-muted">@{{ reply1.author }}</small> –
|
||||
<small class="text-text-muted">{{ reply1.date | date: "%b %d, %Y" }}</small>
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm"><a href="#" class="text-text-muted hover:underline">@{{ reply1.author }}</a></small>
|
||||
<small class="text-text-muted ml-2 text-sm">{{ reply1.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a></small>
|
||||
</div>
|
||||
<p>{{ reply1.content }}</p>
|
||||
<small class="text-right underline text-xs cursor-pointer mt-1 inline-block">reply</small>
|
||||
@@ -34,8 +35,9 @@
|
||||
{% for reply2 in replies2 %}
|
||||
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
|
||||
<div class="mb-1">
|
||||
<small class="text-text-muted">@{{ reply2.author }}</small> –
|
||||
<small class="text-text-muted">{{ reply2.date | date: "%b %d, %Y" }}</small>
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm"><a href="#" class="text-text-muted hover:underline">@{{ reply2.author }}</a></small>
|
||||
<small class="text-text-muted ml-2 text-sm">{{ reply2.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a></small>
|
||||
</div>
|
||||
<p>{{ reply2.content }}</p>
|
||||
<small class="text-right underline text-xs cursor-pointer mt-1 inline-block">reply</small>
|
||||
@@ -44,8 +46,9 @@
|
||||
{% for reply3 in replies3 %}
|
||||
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
|
||||
<div class="mb-1">
|
||||
<small class="text-text-muted">@{{ reply3.author }}</small> –
|
||||
<small class="text-text-muted">{{ reply3.date | date: "%b %d, %Y" }}</small>
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm"><a href="#" class="text-text-muted hover:underline">@{{ reply3.author }}</a></small>
|
||||
<small class="text-text-muted ml-2 text-sm">{{ reply3.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a></small>
|
||||
</div>
|
||||
<p>{{ reply3.content }}</p>
|
||||
<small class="text-right underline text-xs cursor-pointer mt-1 inline-block">reply</small>
|
||||
@@ -54,8 +57,9 @@
|
||||
{% for reply4 in replies4 %}
|
||||
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
|
||||
<div class="mb-1">
|
||||
<small class="text-text-muted">@{{ reply4.author }}</small> –
|
||||
<small class="text-text-muted">{{ reply4.date | date: "%b %d, %Y" }}</small>
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm"><a href="#" class="text-text-muted hover:underline">@{{ reply4.author }}</a></small>
|
||||
<small class="text-text-muted ml-2 text-sm">{{ reply4.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a></small>
|
||||
</div>
|
||||
<p>{{ reply4.content }}</p>
|
||||
<small class="text-right underline text-xs cursor-pointer mt-1 inline-block">reply</small>
|
||||
@@ -64,8 +68,9 @@
|
||||
{% for reply5 in replies5 %}
|
||||
<div class="ml-4 mt-3 border-l-2 border-gray-200 pl-2">
|
||||
<div class="mb-1">
|
||||
<small class="text-text-muted">@{{ reply5.author }}</small> –
|
||||
<small class="text-text-muted">{{ reply5.date | date: "%b %d, %Y" }}</small>
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm"><a href="#" class="text-text-muted hover:underline">@{{ reply5.author }}</a></small>
|
||||
<small class="text-text-muted ml-2 text-sm">{{ reply5.date | date: "%b %d, %Y" }} | <a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a></small>
|
||||
</div>
|
||||
<p>{{ reply5.content }}</p>
|
||||
<small class="text-right underline text-xs cursor-pointer mt-1 inline-block">reply</small>
|
||||
|
||||
Reference in new issue
Block a user