From 213d4fc2f05fc302608802a3b25dc3bf1071e7e1 Mon Sep 17 00:00:00 2001 From: Saivann Date: Sat, 9 Nov 2013 14:46:19 -0500 Subject: [PATCH] Add "Documentaries" and "Learning resources" links in "Resources" Add link to Bitcoinfilm.org Add link to the Khan academy course --- _less/ie.css | 2 +- _less/screen.less | 7 ++- _templates/resources.html | 15 +++++- _translations/en.yml | 2 + img/ico_doc.png | Bin 0 -> 620 bytes img/ico_doc.svg | 100 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 122 insertions(+), 4 deletions(-) create mode 100644 img/ico_doc.png create mode 100644 img/ico_doc.svg diff --git a/_less/ie.css b/_less/ie.css index 98d8e6e9..b21bee66 100644 --- a/_less/ie.css +++ b/_less/ie.css @@ -148,7 +148,7 @@ body{ } .resources div{ - border-top:expression((this.parentNode.getElementsByTagName('DIV')[3]==this)?'1px solid #e0e0e0':''); + border-top:expression((this.parentNode!=this.parentNode.parentNode.getElementsByTagName('DIV')[0])?'1px solid #e0e0e0':'0'); } .resources div div{ zoom:1; diff --git a/_less/screen.less b/_less/screen.less index 487dfc3e..ba1fe266 100644 --- a/_less/screen.less +++ b/_less/screen.less @@ -644,9 +644,12 @@ li p{ .resources{ text-align:left; } -.resources>div:first-child+div{ +.resources>div{ border-top:1px solid #e0e0e0; } +.resources>div:first-child{ + border-top:0; +} .resources div div{ display:inline-block; width:380px; @@ -1373,7 +1376,7 @@ h2 .rssicon{ padding-left:0; margin-left:0; } - .resources>div:first-child+div{ + .resources>div{ border-top:0; } .resources div div{ diff --git a/_templates/resources.html b/_templates/resources.html index df53b73b..fc1aa020 100644 --- a/_templates/resources.html +++ b/_templates/resources.html @@ -65,7 +65,6 @@ id: resources

Bitcoin Magazine

CoinDesk

The Genesis Block

-

Let's Talk Bitcoin

Bitcoin Forum / Press

Icon{% translate charts %}

@@ -74,6 +73,20 @@ id: resources

Bitcoincharts.com

+{% case page.lang %} +{% when 'ar' or 'de' or 'es' or 'fa' or 'fr' or 'id' or 'it' or 'nl' or 'pl' or 'ru' or 'tr' or 'zh_CN' or 'zh_TW' %} +{% else %} +
+
+

Icon{% translate documentaries %}

+

BitcoinFilm.org

+
+

Icon{% translate learn %}

+

Let's Talk Bitcoin

+

Khan Academy

+
+
+{% endcase %} {% endcase %} diff --git a/_translations/en.yml b/_translations/en.yml index 55137a1f..938b24c1 100644 --- a/_translations/en.yml +++ b/_translations/en.yml @@ -412,6 +412,8 @@ en: linkmerchantstools: "Merchant tools" charts: "Charts and statistics" news: "News" + documentaries: "Documentaries" + learn: "Learning resources" secure-your-wallet: title: "Securing your wallet - Bitcoin" pagetitle: "Securing your wallet" diff --git a/img/ico_doc.png b/img/ico_doc.png new file mode 100644 index 0000000000000000000000000000000000000000..aaecae5990a2f657d866f6408e6eb6458aee51e5 GIT binary patch literal 620 zcmV-y0+aoTP)ZNy4MQdubmEEGw=!WS$=FvKJn@3GiD-E4L@cgN*U&_7JEJM+x* z-`RPKl#*d$WT?0Q4Fq=8DI($wW^n><@hGKqukQ>}N}B{@cz`vukaGEsrNp&5eG0`W7ERPZTw(s8NS4xZO%;K1-{9`U577S z6G$m7#faEfj=tydNucGgY0i-#ChE zHM+#kFC@{R8wi0W{3l@81O^g;ranIq0!z3g+p5dR7M~q%L~jcIPswJ@8eU;+(>Rvx zgZ(BjUoi_tYR7RzT)^?}qFjp=+)63EZ!#MCKJZWX0q_eUf?RN=!XeZE0000 + + + + + + + + + image/svg+xml + + + + + + + + + + + + +