This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix versions list on product change, and auto-select latest beta. Bug…
… 600445.
- Loading branch information
Fred Wenzel
committed
Oct 1, 2010
1 parent
120b28a
commit d523de1
Showing
3 changed files
with
32 additions
and
5 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
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,8 +1,9 @@ | ||
<span class="selectbox"> | ||
<span class="text">{{ product }}</span> | ||
<select id="product" name="product" data-selected="{{ product }}"> | ||
<select id="product" name="product" data-selected="{{ product }}" data-versions="{{ version_choices }}"> | ||
{% for val, name in products %} | ||
<option value="{{ val }}" {{ 'selected' if product == val else '' }}>{{ name }}</option> | ||
<option value="{{ val }}" {{ 'selected' if product == val else '' | ||
}} data-latest="{{ latest_betas[val] }}">{{ name }}</option> | ||
{% endfor %} | ||
</select> | ||
</span> |
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