mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
Show 3 recent comments in sidebar
This commit is contained in:
parent
8e785b669e
commit
7905963e0f
5 changed files with 189 additions and 4 deletions
|
@ -54,9 +54,19 @@
|
|||
|
||||
<!-- Side Widget -->
|
||||
<div class="card my-4">
|
||||
<h5 class="card-header">Cool widget</h5>
|
||||
<h5 class="card-header">Recent comments</h5>
|
||||
<div class="card-body">
|
||||
Many widgets. Such sidebar. Wow.
|
||||
<ul class="b">
|
||||
{% for c in recent_comments %}
|
||||
<li>
|
||||
<a href="">{{c.user.username}}</a> in
|
||||
<a href="/proposal/{{c.proposal.id}}">#{{c.proposal.id}}</a>
|
||||
<small>
|
||||
<a href="/proposal/{{c.proposal.id}}#comment-{{c.id}}">({{c.ago}})</a>
|
||||
</small>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue