26 lines
876 B
HTML
26 lines
876 B
HTML
{% extends "passerelle/manage/service_view.html" %}
|
|
{% load i18n passerelle %}
|
|
|
|
{% block content %}
|
|
{% if object.description %}{{object.description|linebreaks}}{% endif %}
|
|
<h3>{%trans 'Motivations list' %}</h3>
|
|
<table class="main">
|
|
<thead>
|
|
<tr><th>{% trans 'Label' %}</th><th>{% trans 'Price' %}</th><th>{% trans 'Description' %}</th><th> </th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for motivation in object.get_motivation_terms %}
|
|
<tr><td>{{motivation.text}}</td><td>{{motivation.price}}</td><td>{{motivation.description}}</td>
|
|
<td><a rel="popup" href="{% url 'motivationterm-delete' pk=motivation.id connector_slug=object.slug %}" class="icon-remove-sign"></a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<p>
|
|
<!--csv-new-query-->
|
|
<a class="icon-plus button" href="{% url 'motivationterm-add' connector_slug=object.slug %}">{% trans 'Add new record' %}</a>
|
|
</p>
|
|
|
|
{% endblock %}
|