From ffcb6ffbfb39794bc991d4dd0f3b84ea7ceb5c09 Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Thu, 13 Dec 2018 22:13:32 +0100 Subject: [PATCH 1/2] Add experimental label to Brave, add tooltip support for labels --- _includes/card.html | 11 ++++++++++- index.html | Bin 146405 -> 146604 bytes 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/_includes/card.html b/_includes/card.html index e64b7a37..b90324df 100644 --- a/_includes/card.html +++ b/_includes/card.html @@ -15,7 +15,16 @@ {% assign label_data = label | split:":" %} {% assign color = label_data[0] %} {% assign text = label_data[1] %} - {{text}} + {% assign tooltip = label_data[2] | default: "" %} + {% assign help_icon = '' %} + {{text}} {{ help_icon }} + {% else %} + >{{text}} + {% endif %} + {% endfor %} {% endif %} diff --git a/index.html b/index.html index c227251503d56598248f4d435a7946dea4110f73..84f14d1125adf23717fc3c5c121a63f978f4785b 100644 GIT binary patch delta 218 zcmXAiJ!->16ogUdQ^NF#&$6gj|?_St%%-6wWee-LnC9YK&wq)6uzgp;a4-Kf;bIAYcw zBe{sE=mRHU-*~ms+oy^G8&qD$z&=OWM^NILG}Ec1ia7iY?*dH81Gn1!{yo-eEj>eG p3Y?}^_m -- 2.47.2 From eead8b2a64a6fe8116aba9339e9fb00aa477e49b Mon Sep 17 00:00:00 2001 From: Samuel Shifterovich Date: Thu, 13 Dec 2018 22:20:31 +0100 Subject: [PATCH 2/2] Fix .gitattributes --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 557c72cb..1b5d75af 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -index.html diff=html +index.html diff -- 2.47.2