-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2235] Fix toggle-hide for case-related questions
- Loading branch information
Showing
5 changed files
with
53 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{% load i18n icon_tags list_tags %} | ||
|
||
<a href="{% url 'cases:kcm_redirect' contactmoment.uuid %}" class="card card--compact card--stretch {% if toggle_hide %}card--toggle-hide{% endif %} contactmomenten__link"> | ||
{% if contactmoment.new_answer_available %} | ||
{% translate "Nieuw antwoord beschikbaar" as new_answer_text %} | ||
{% include "components/StatusIndicator/StatusIndicator.html" with status_indicator="info" status_indicator_text=new_answer_text only %} | ||
{% endif %} | ||
<div class="card__body"> | ||
{% render_list %} | ||
<span class="contactmomenten-list"> | ||
<li class="list-item list-item--compact"> | ||
{% with register_date=contactmoment.registratiedatum|default:"" %} | ||
<p class="card__caption card__text--small"><span>{% trans "Vraag ingediend op" %}:</span><span class="card__text--dark">{{ register_date|date }}</span></p> | ||
{% endwith %} | ||
</li> | ||
{% list_item contactmoment.tekst compact=True strong=False %} | ||
<li class="list-item list-item--compact"> | ||
{% with channel=contactmoment.kanaal|default:"" %} | ||
<p class="card__caption card__text--small"><span>{% trans "Ingediend via" %}:</span><span class="card__text--dark">{{ channel }}</span></p> | ||
{% endwith %} | ||
</li> | ||
</span> | ||
{% endrender_list %} | ||
<span class="link link--icon link--primary" aria-label="{% trans "Bekijk vraag" %}" title="{% trans "Bekijk vraag" %}"> | ||
<span class="link__text">{% trans "Bekijk vraag" %}</span> | ||
{% icon icon="arrow_forward" icon_position="after" primary=True outlined=True %} | ||
</span> | ||
</div> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters