Correct display of non-default CorpStats

Correct display of application comments
Beautify notifications panel
This commit is contained in:
Adarnof
2017-03-27 12:48:24 -04:00
parent 04053c8465
commit 3063355eb7
3 changed files with 96 additions and 77 deletions

View File

@@ -109,7 +109,7 @@
<a class="collapsed" data-toggle="collapse" data-parent="#accordion"
href="#collapseThree" aria-expanded="false"
aria-controls="collapseThree">
{% blocktrans %}Comments - {{ comments|length }}{% endblocktrans %}
{% trans 'Comments' %} ({{ comments.count }})
</a>
</h4>
</div>
@@ -119,7 +119,11 @@
{% for comment in comments %}
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="">
<div class="panel-title">{{ comment.created }} - {{ comment.user }}</div>
<div class="panel-title">
<div class="pull-right">{{ comment.created }}</div>
<div class="pull-left">{% if comment.user.profile.main_character %}{{ comment.user.profile.main_character }}{% else %}{{ comment.user }}{% endif %}</div>
<div class="clearfix"></div>
</div>
</div>
<div class="panel-body">{{ comment.text|linebreaks }}</div>
</div>