Skip to content

Commit c0b70ce

Browse files
committed
small updates
1 parent 742e96e commit c0b70ce

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ Gemfile.lock
1313
scripts/python/output/
1414
.bundle
1515
vendor/
16+
.jekyll-metadata

_includes/segment/progress-bar.html

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
1+
{%- assign progress_text = "" -%}
2+
{%- case include.page -%}
3+
{%- when "home" -%}
4+
{%- assign progress_text = "on Main page" -%}
5+
{%- when "adult" -%}
6+
{%- assign progress_text = "on Adult page" -%}
7+
{%- when "donations" -%}
8+
{%- assign progress_text = "on Donations page" -%}
9+
{%- when "cobra" -%}
10+
{%- assign progress_text = ", that also accept Bitcoin" -%}
11+
{%- endcase -%}
212
<div class="ui container progress bch-progress" data-value="{{ include.value }}" data-total="{{ include.total }}" id="bch-count">
313
<div class="bar"><div class="progress"></div> </div>
4-
<div class="label" data-tooltip="Please help to improve this ratio by sending tweets to, or writing on the wall of the merchants/websites that you hope to see accept Bitcoin Cash." data-position="bottom center" data-inverted=""><b>{{ include.value }}</b> out of <b>{{ include.total }}</b> websites listed accept Bitcoin Cash on {{ include.page }}.</div>
14+
<div class="label" data-tooltip="Please help to improve this ratio by sending tweets to, or writing on the wall of the merchants/websites that you hope to see accept Bitcoin Cash." data-position="bottom center" data-inverted=""><b>{{ include.value }}</b> out of <b>{{ include.total }}</b> websites listed accept Bitcoin Cash {{ progress_text }}.</div>
515
</div>

adoption.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
{%- endfor -%}
3434
{%- endfor -%}
3535
{% endfor %}
36-
{% include segment/progress-bar.html value=count_bch total=count_total %}
36+
{% include segment/progress-bar.html value=count_bch total=count_total page="cobra" %}

0 commit comments

Comments
 (0)