-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding alt and title for logos in the footer
- Loading branch information
1 parent
0b28f56
commit 4ff57c3
Showing
1 changed file
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
{% load thumbnail %} | ||
<div class="container"> | ||
<ul class="list-inline"> | ||
{% for template in templates %} | ||
<li><a href="{{template.get_absolute_url}}"> | ||
<div class="logo-org-home"> | ||
{% thumbnail template.logo "100x100" as im %} | ||
<img src="{{ im.url }}" | ||
width="{{ im.width }}" | ||
height="{{ im.height }} | ||
alt={{template.organization.get_full_name}}"> | ||
{% endthumbnail %} | ||
{% if templates|length %} | ||
<section id="orgs-repo"> | ||
<div class="container"> | ||
<div class="row"> | ||
<h2 class="text-center">Organizaciones</h2> | ||
<div class="container"> | ||
<ul class="list-inline"> | ||
{% for template in templates %} | ||
<li><a href="{{template.get_absolute_url}}"> | ||
<div class="logo-org-home"> | ||
{% thumbnail template.logo "100x100" as im %} | ||
<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" alt="{{template.title}}" title="{{template.title}}"> | ||
{% endthumbnail %} | ||
</div> | ||
</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</div> | ||
</section> | ||
{% endif %} |