Skip to content

Commit c458227

Browse files
authored
Merge pull request #273 from lkocman/alternative_downloads
Increase visibility of alternative downloads
2 parents 97021ea + d72d5ef commit c458227

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_includes/distribution.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,11 @@ <h5>{{ locale[arch.name] }}</h5>
114114
</div>
115115
{% endfor %}
116116
{% if distro.downloads.size > 1 %}
117+
<div class="card-box alert alert-{{ distro.name | downcase | replace: ' ', '-' }}">
117118
{% capture alternative_downloads %}<a href="#" data-toggle="modal" data-target="#downloadModal">{{ locale.alternative_downloads }}</a>{% endcapture %}
118119
{% capture options %}<b>{% for tab in distro.downloads offset: 1 %}<span {% if tab.display %}class="not-{{ tab.display }}"{% endif %}>{{ locale[tab.name] }}{% if forloop.last == false %}, {% endif %}</span>{% endfor %}</b>{% endcapture %}
119120
<div class="lead">{{ locale.alternative_downloads_desc | replace: '$alternative_downloads', alternative_downloads | replace: '$options', options }}</div>
121+
</div>
120122
{% endif %}
121123
</div>
122124
</section>

0 commit comments

Comments
 (0)