forked from BD-Python-PIP/code-examples-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_info.html
More file actions
26 lines (21 loc) · 855 Bytes
/
example_info.html
File metadata and controls
26 lines (21 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<h4>{{ title }}</h4>
<p>{{ example["ExampleDescription"] | safe }}</p>
{% if show_doc %}
<p><a target='_blank' href='{{ documentation | safe }}'>Documentation</a> about this example.</p>
{% endif %}
{% if "Note" in example %}
<p>{{ example["Note"] | safe }}</p>
{% endif %}
{% if example["LinksToAPIMethod"] | length > 0 %}
{% if example["LinksToAPIMethod"] | length > 1 %}
{{ session["manifest"]["SupportingTexts"]["APIMethodUsedPlural"] | safe }}
{% else %}
{{ session["manifest"]["SupportingTexts"]["APIMethodUsed"] | safe }}
{% endif %}
{% for link in example["LinksToAPIMethod"] -%}
<a target='_blank' href="{{ link['Path'] }}">{{ link['PathName'] }}</a>
{% endfor %}
{% endif %}
<p>
View source file <a target="_blank" href="{{ source_url | safe }}">{{ source_file }}</a> on GitHub.
</p>