Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prefix_finder/frontend/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ fieldset {
display: flex;
flex-direction: column;
}
@media (min-width: 40em) {
@media (min-width: 100em) {
.homepage {
height: 100vh;
}
Expand Down
8 changes: 6 additions & 2 deletions prefix_finder/frontend/templates/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h2>Description</h2>
<div class="single-content__block single-meta-info">
<ul class="single-meta-info__categories single-categories">
<li class="single-categories__item single-categories--coverage">
<p>Coverage: {% for x in org_list.coverage %}<span>{{ x }}{% if not forloop.last %},{% endif %} </span>{% endfor %}</p>
<p>Coverage: {% for x in org_list.coverage %}<span><abbr title="{% for key, value in lookups.coverage %}{% if key == x %}{{ value }}{% endif %}{% endfor %}">{{ x }}</abbr>{% if not forloop.last %},{% endif %} </span>{% endfor %}</p>
</li>

{% if org_list.sector %}
Expand All @@ -52,7 +52,11 @@ <h2>Description</h2>

<div class="single-meta-info__instructions">
<h3>To find identifiers</h3>
<p>{{ org_list.access.guidanceOnLocatingIds|urlize|linebreaks}}</p>
{% if org_list.access.guidanceOnLocatingIds %}
<p>{{ org_list.access.guidanceOnLocatingIds|urlize|linebreaks}}</p>
{% else %}
<p><a href="{{ org_list.url }}" target="_blank">Visit the website.</a></p>
{% endif %}
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion prefix_finder/frontend/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def list_details(request, prefix):

except KeyError:
raise Http404('Organization list {} does not exist'.format(prefix))
return render(request, 'list.html', context={'org_list': org_list, 'branch':use_branch})
return render(request, 'list.html', context={'org_list': org_list, 'lookups': lookups, 'branch':use_branch})


def _get_filename(use_branch='master'):
Expand Down