Skip to content

Commit

Permalink
standardize clr rounds display to uppercase (#8004)
Browse files Browse the repository at this point in the history
* clr rounds display texts to uppercase

* fix in landing page
  • Loading branch information
chibie authored Dec 3, 2020
1 parent ee9c1e3 commit e3fd671
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/grants/templates/grants/shared/active_clr_round.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
</div>
<h5 class="font-weight-bold my-auto">
{% if active_round.display_text %}
{{ active_round.display_text }}
{{ active_round.display_text|upper }}
{% elif active_round.customer_name %}
{{ active_round.customer_name }} - {{ active_round.round_num }}
{{ active_round.customer_name|upper }} - {{ active_round.round_num }}
{% elif active_round.sub_round_slug %}
{{ active_round.sub_round_slug|title }} - {{ active_round.round_num }}
{{ active_round.sub_round_slug|upper }} - {{ active_round.round_num }}
{% else %}
{{ active_round.round_num }}
{% endif %}
Expand Down
6 changes: 3 additions & 3 deletions app/grants/templates/grants/shared/sidebar_search.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@
<a href="/grants/clr{% if active_round.customer_name %}/{{ active_round.customer_name }}{% endif %}{% if active_round.round_num %}/{{ active_round.round_num }}{% endif %}{% if active_round.sub_round_slug %}/{{ active_round.sub_round_slug }}{% endif %}"
:class="`btn btn-link font-smaller-1 text-decoration-none text-left ml-0 pl-0 ${ idle_grants ? 'gc-text-blue' : 'text-black'}`">
{% if active_round.display_text %}
{{ active_round.display_text }}
{{ active_round.display_text|upper }}
{% elif active_round.customer_name %}
{{ active_round.customer_name }} - {{ active_round.round_num }}
{{ active_round.customer_name|upper }} - {{ active_round.round_num }}
{% elif active_round.sub_round_slug %}
{{ active_round.sub_round_slug|title }} - {{ active_round.round_num }}
{{ active_round.sub_round_slug|upper }} - {{ active_round.round_num }}
{% else %}
{{ active_round.round_num }}
{% endif %}
Expand Down

0 comments on commit e3fd671

Please sign in to comment.