0001-base-add-an-help-attribute-for-connectors-34885.patch
passerelle/apps/csvdatasource/models.py | ||
---|---|---|
132 | 132 |
sheet_name = models.CharField(_('Sheet name'), blank=True, max_length=150) |
133 | 133 | |
134 | 134 |
category = _('Data Sources') |
135 |
documentation_url = 'https://doc-publik.entrouvert.com/admin-fonctionnel/parametrage-avance/source-de-donnees-csv/' |
|
135 | 136 | |
136 | 137 |
class Meta: |
137 | 138 |
verbose_name = _('Spreadsheet File') |
passerelle/apps/jsondatastore/models.py | ||
---|---|---|
76 | 76 | |
77 | 77 |
class JsonDataStore(BaseResource): |
78 | 78 |
category = _('Data Sources') |
79 |
documentation_url = 'https://doc-publik.entrouvert.com/admin-fonctionnel/parametrage-avance/json-data-store/' |
|
79 | 80 |
text_value_template = models.CharField(_('Template for "text" key value'), |
80 | 81 |
max_length=256, blank=True) |
81 | 82 |
passerelle/sms/__init__.py | ||
---|---|---|
9 | 9 | |
10 | 10 |
class SMSGatewayMixin(object): |
11 | 11 |
category = _('SMS Providers') |
12 |
documentation_url = 'https://doc-publik.entrouvert.com/admin-fonctionnel/les-tutos/configuration-envoi-sms/' |
|
12 | 13 | |
13 | 14 |
_can_send_messages_description = _('Sending messages is limited to the following API users:') |
14 | 15 |
passerelle/templates/passerelle/manage/service_view.html | ||
---|---|---|
50 | 50 |
</div> |
51 | 51 | |
52 | 52 |
<div id="endpoints" class="section"> |
53 |
<h3>{% trans 'Endpoints' %}</h3> |
|
53 |
<h3>{% trans 'Endpoints' %} |
|
54 |
{% if object.documentation_url %} |
|
55 |
<a href="{{ object.documentation_url }}">({% trans "documentation" %})</a> |
|
56 |
{% endif %} |
|
57 |
</h3> |
|
54 | 58 |
<div> |
55 | 59 |
{% if object.api_description %}<p>{{object.api_description}}</p>{% endif %} |
56 | 60 |
{% block endpoints %} |
57 |
- |