This repository was archived by the owner on Nov 3, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11< span class ="selectbox " id ="filter_product ">
2- < span class ="text "> {{ product }}</ span >
3- < select id ="product " name ="product " data-selected ="{{ product }} " data-versions ="{{ version_choices }} ">
2+ < span class ="text "> {{ product.pretty }}</ span >
3+ < select id ="product " name ="product " data-selected ="{{ product.short }} " data-versions ="{{ version_choices }} ">
44 {% for val, name in products %}
5- < option value ="{{ val }} " {{ 'selected' if product == val else ''
5+ < option value ="{{ val }} " {{ 'selected' if product.short == val else ''
66 }} data-latest="{{ latest_betas[val] }} "> {{ name }}</ option >
77 {% endfor %}
88 </ select >
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def dashboard(request):
6868 'OPINION_PRAISE' : OPINION_PRAISE ,
6969 'OPINION_ISSUE' : OPINION_ISSUE ,
7070 'OPINION_SUGGESTION' : OPINION_SUGGESTION ,
71- 'product' : app . pretty ,
71+ 'product' : app ,
7272 'products' : PROD_CHOICES ,
7373 'sentiments' : get_sentiment (metas .get ('type' , [])),
7474 'terms' : stats .frequent_terms (qs = frequent_terms ),
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ def index(request):
161161
162162 data = {
163163 'form' : form ,
164- 'product' : product . short ,
164+ 'product' : product ,
165165 'products' : PROD_CHOICES ,
166166 'version' : version ,
167167 'versions' : VERSION_CHOICES [product ],
You can’t perform that action at this time.
0 commit comments