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/' + \ |
|
136 |
'admin-fonctionnel/parametrage-avance/source-de-donnees-csv/' |
|
135 | 137 | |
136 | 138 |
class Meta: |
137 | 139 |
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/' \ |
|
80 |
+ 'admin-fonctionnel/parametrage-avance/json-data-store/' |
|
79 | 81 |
text_value_template = models.CharField(_('Template for "text" key value'), |
80 | 82 |
max_length=256, blank=True) |
81 | 83 |
passerelle/base/models.py | ||
---|---|---|
115 | 115 | |
116 | 116 |
parameters = None |
117 | 117 |
manager_view_template_name = None |
118 |
documentation_url = None |
|
118 | 119 | |
119 | 120 |
# permission descriptions |
120 | 121 |
_can_access_description = _('Access is limited to the following API users:') |
passerelle/sms/__init__.py | ||
---|---|---|
9 | 9 | |
10 | 10 |
class SMSGatewayMixin(object): |
11 | 11 |
category = _('SMS Providers') |
12 |
documentation_url = 'https://doc-publik.entrouvert.com/' \ |
|
13 |
+ 'admin-fonctionnel/les-tutos/configuration-envoi-sms/' |
|
12 | 14 | |
13 | 15 |
_can_send_messages_description = _('Sending messages is limited to the following API users:') |
14 | 16 |
passerelle/templates/passerelle/manage/service_view.html | ||
---|---|---|
27 | 27 |
{% if object|can_delete:request.user %} |
28 | 28 |
<a rel="popup" href="{{ object.get_delete_url }}">{% trans 'delete' %}</a> |
29 | 29 |
{% endif %} |
30 |
{% if object.documentation_url %} |
|
31 |
<a href="{{object.documentation_url}}">{% trans "documentation" %}</a> |
|
32 |
{% endif %} |
|
30 | 33 |
</span> |
31 | 34 |
{% endblock %} |
32 | 35 | |
33 |
- |