mpeltriaux
e1865c7267
* extends the detail view templates for all compensation related models to render extra CompensationState details as well * reduces number of landing page news from 4 to 3 * improves .card-text in favor of .scroll-150 * improves .card font size
29 lines
921 B
HTML
29 lines
921 B
HTML
{% extends 'base.html' %}
|
|
{% load i18n ksp_filters %}
|
|
|
|
{% block body %}
|
|
<div class="">
|
|
<div class="row px-3">
|
|
<h4>
|
|
{% trans 'All' %}
|
|
{% trans 'News' %}
|
|
</h4>
|
|
</div>
|
|
<div class="col-md">
|
|
{% for msg in news %}
|
|
<div class="card col-md {{msg.importance|bootstrap_cls}}">
|
|
<div class="card-body">
|
|
<h5 class="card-title">
|
|
<strong>{{msg.subject}}</strong>
|
|
<br>
|
|
<small> {% trans 'Published on' %} {{msg.publish_on}}</small>
|
|
</h5>
|
|
<small></small>
|
|
<article class="scroll-150">{{msg.body|safe}}</article>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
{% endblock %} |