Revert "Move card footer container inside the card-footer component"

This reverts commit 58aeb72afa6f28ead18888d47438e0704a424e23.
This commit is contained in:
Joachim 2021-04-21 21:48:31 +02:00
parent 17436b6657
commit 53b47aa264
3 changed files with 27 additions and 29 deletions

View File

@ -11,8 +11,10 @@
</section>
{% endif %}
<footer class="card-footer has-background-white-bis">
{% block card-footer %}
{% endblock %}
</footer>
{% block card-bonus %}
{% endblock %}

View File

@ -16,7 +16,6 @@
{% endblock %}
{% block card-footer %}
<footer class="card-footer has-background-white-bis">
<div class="card-footer-item">
<p>{% blocktrans with username=report.reporter.display_name path=report.reporter.local_path %}Reported by <a href="{{ path }}">{{ username }}</a>{% endblocktrans %}</p>
</div>
@ -35,5 +34,4 @@
</button>
</form>
</div>
</footer>
{% endblock %}

View File

@ -17,11 +17,9 @@
{% endblock %}
{% block card-footer %}
<footer class="card-footer has-background-white-bis">
<form class="card-footer-item is-flex-direction-column" method="post" action="{% url 'hide-goal' %}">
{% csrf_token %}
<button type="submit" class="button is-danger is-light is-block set-display" >{% trans "Dismiss message" %}</button>
<p class="help">{% blocktrans with path=request.user.local_path %}You can set or change your reading goal any time from your <a href="{{ path }}">profile page</a>{% endblocktrans %}</p>
</form>
</footer>
{% endblock %}