forked from mirrors/bookwyrm
Revert "Move card footer container inside the card-footer component"
This reverts commit 58aeb72afa
.
This commit is contained in:
parent
17436b6657
commit
53b47aa264
3 changed files with 27 additions and 29 deletions
|
@ -11,8 +11,10 @@
|
|||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% block card-footer %}
|
||||
{% endblock %}
|
||||
<footer class="card-footer has-background-white-bis">
|
||||
{% block card-footer %}
|
||||
{% endblock %}
|
||||
</footer>
|
||||
|
||||
{% block card-bonus %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -16,24 +16,22 @@
|
|||
{% 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>
|
||||
<div class="card-footer-item">
|
||||
{{ report.created_date | naturaltime }}
|
||||
</div>
|
||||
<div class="card-footer-item">
|
||||
<form name="resolve" method="post" action="{% url 'settings-report-resolve' report.id %}">
|
||||
{% csrf_token %}
|
||||
<button class="button" type="submit">
|
||||
{% if report.resolved %}
|
||||
{% trans "Re-open" %}
|
||||
{% else %}
|
||||
{% trans "Resolve" %}
|
||||
{% endif %}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</footer>
|
||||
<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>
|
||||
<div class="card-footer-item">
|
||||
{{ report.created_date | naturaltime }}
|
||||
</div>
|
||||
<div class="card-footer-item">
|
||||
<form name="resolve" method="post" action="{% url 'settings-report-resolve' report.id %}">
|
||||
{% csrf_token %}
|
||||
<button class="button" type="submit">
|
||||
{% if report.resolved %}
|
||||
{% trans "Re-open" %}
|
||||
{% else %}
|
||||
{% trans "Resolve" %}
|
||||
{% endif %}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -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>
|
||||
<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>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue