Skip to content

Commit dccdd3f

Browse files
authored
Merge branch 'master' into fallback-link
2 parents ebe9cae + 26723fb commit dccdd3f

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

prefix_finder/frontend/templates/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<div class="main-content single-content">
99
<header class="single-content__header">
10-
<a href="{{ org_list.url }}" class="button" target="_blank"><i class="material-icons">link</i></a>
10+
<a href="{{ org_list.url }}" class="button" target="_blank"><i class="material-icons" title="Visit website for this list">launch</i></a>
1111
<h1>{{ org_list.name.en }} <span>({{ org_list.code }})</span></h1>
1212
</header>
1313

prefix_finder/frontend/templates/results.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ <h4>Sectors</h4>
5656
</div>
5757

5858
<footer class="card__controls">
59-
<a href="{{ result.url }}" class="button" target="_blank"><i class="material-icons">link</i></a>
59+
<a href="{{ result.url }}" class="button" target="_blank"><i class="material-icons" title="Visit the website for this list">launch</i></a>
6060
<div class="card__list-code"><p>List Code <code>{{ result.code }}</code></p></div>
61-
<a href="{% url "list" result.code %}" class="button"><i class="material-icons">zoom_out_map</i></a>
61+
<a href="{% url "list" result.code %}" class="button"><i class="material-icons" title="More information about this list">info_outline</i></a>
6262
</footer>
6363
</article>
6464
</div>
@@ -117,9 +117,9 @@ <h4>Sectors</h4>
117117
</div>
118118

119119
<footer class="card__controls">
120-
<a href="{{ result.url }}" class="button" target="_blank"><i class="material-icons">link</i></a>
120+
<a href="{{ result.url }}" class="button" target="_blank"><i class="material-icons" title="Visit the website for this list">launch</i></a>
121121
<div class="card__list-code"><p>List Code <code>{{ result.code }}</code></p></div>
122-
<a href="{% url "list" result.code %}" class="button"><i class="material-icons">zoom_out_map</i></a>
122+
<a href="{% url "list" result.code %}" class="button"><i class="material-icons" title="More information about this list">info_outline</i></a>
123123
</footer>
124124
</article>
125125
</div>
@@ -176,9 +176,9 @@ <h4>Sectors</h4>
176176
</div>
177177

178178
<footer class="card__controls">
179-
<a href="{{ result.url }}" class="button" target="_blank"><i class="material-icons">link</i></a>
179+
<a href="{{ result.url }}" class="button" target="_blank"><i class="material-icons" title="Visit the website for this list">launch</i></a>
180180
<div class="card__list-code"><p>List Code <code>{{ result.code }}</code></p></div>
181-
<a href="{% url "list" result.code %}" class="button"><i class="material-icons">zoom_out_map</i></a>
181+
<a href="{% url "list" result.code %}" class="button"><i class="material-icons" title="More information about this list">info_outline</i></a>
182182
</footer>
183183
</article>
184184
</div>

prefix_finder/frontend/views.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,18 @@ def make_xml_codelist(use_branch="master"):
562562
root = ET.Element("codelist")
563563
meta = ET.SubElement(root, "metadata")
564564
ET.SubElement(ET.SubElement(meta, "name"),"narrative").text = "Organization Identifier Lists"
565-
ET.SubElement(ET.SubElement(meta, "description"),"narrative").text = "Organization identifier lists and their code. These can be used as the prefix for an organization identifier. For general guidance about constructing Organization Identifiers, please see http://iatistandard.org/organization-identifiers/ This list was formerly maintained by the IATI Secretariat as the Organization Registration Agency codelist. This version is maintained by the Identify-Org project, of which IATI is a member. New code requests should be made via Identify-org.net"
565+
ET.SubElement(ET.SubElement(meta, "description"),"narrative").text = """
566+
Organization identifier lists and their code. These can be used as the
567+
prefix for an organization identifier. For general guidance about
568+
constructing Organization Identifiers, please see
569+
http://iatistandard.org/202/guidance/how-to-publish/iati-organisation-identifiers/
570+
571+
This list was formerly maintained by the IATI Secretariat as the
572+
Organization Registration Agency codelist. This version is maintained
573+
by the org-id.guide project, of which IATI is a member. New code
574+
requests should be made via
575+
http://docs.org-id.guide/en/latest/contribute/
576+
"""
566577
items = ET.SubElement(root, "codelist-items")
567578

568579
for entry in org_id_dict[use_branch].values():

0 commit comments

Comments
 (0)