elixir-toolkit-theme-plugins 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef9ddfcb96e78a35a5d6597133158ccafdbc78926bbd62cfbcb44aac5e312b96
4
- data.tar.gz: f4ac9a49766e82db210d70e5da5d3dde41eafb24662b0946fea19a6feacf1e1c
3
+ metadata.gz: bd0a3fc0a5890ba4e7680359f3fa18d06fe7de42a11813e73cf6db604a6205c6
4
+ data.tar.gz: 965789747727984d24d71b4963ccf58422b0a597450056c0a76a25e8d4d04cf7
5
5
  SHA512:
6
- metadata.gz: bbfb12893a2b0e10084c21f9334cac6bcfe76e398e9410314399e3125e64e36a97838476ead2920b6420e4aba3e21e3b536cb039f9ab1bc194e8678a5df33fef
7
- data.tar.gz: d01c938162325ea0555355b52ccd34a7d913bcca9bb20f01cc8dc661f4a80c90af9b295039b7248d1a8ebbb7aa0d37ce04b65e4edbb2097348a2dd524fe3c90b
6
+ metadata.gz: dffa98f82db6ac590161b0a4e38a60ed70495358f9a4064b144c9e50c642f70738d044c1967692c5a2c2ee6eb37f5f89778e2d436fc67fefb28542bbd2ef5673
7
+ data.tar.gz: 32b9bbbe4a80b61f70bb2145c910cf50a81a656c5b6053ce989e8cb129898f24cc5d00a2b4db1a800728167285df48df05096c839c50a6e95f2d58b3ee55e921
@@ -28,7 +28,7 @@ module Jekyll
28
28
  data-bs-content="<h5>#{tool["name"]}</h5><div class='mb-2'>#{tool["description"]}</div>#{tags}"
29
29
  data-bs-template="<div class='popover popover-tool' role='tooltip'><div class='popover-arrow'></div><h3 class='popover-header'></h3><div class='popover-body'></div></div>"
30
30
  data-bs-html="true"
31
- ><i class="fa-solid fa-wrench me-2"></i>#{ tool["name"] }</a>}
31
+ ><i class="fa-solid fa-wrench fa-sm me-2"></i>#{ tool["name"] }</a>}
32
32
  end
33
33
 
34
34
  def find_tool(tool_id)
@@ -44,23 +44,23 @@ module Jekyll
44
44
  if tool["registry"]
45
45
  registry = tool["registry"]
46
46
 
47
- if registry["biotools"]
47
+ if registry["biotools"] and registry["biotools"] != "NA"
48
48
  tags << create_tag("https://bio.tools/#{registry["biotools"]}", "fa-info", "Tool info")
49
49
  end
50
50
 
51
- if registry["fairsharing"]
51
+ if registry["fairsharing"] and registry["fairsharing"] != "NA"
52
52
  tags << create_tag("https://fairsharing.org/FAIRsharing.#{registry["fairsharing"]}", "fa-database", "Standards/Databases")
53
53
  end
54
54
 
55
- if registry["fairsharing-coll"]
55
+ if registry["fairsharing-coll"] and registry["fairsharing-coll"] != "NA"
56
56
  tags << create_tag("https://fairsharing.org/#{registry["fairsharing-coll"]}", "fa-database", "Standards/Databases")
57
57
  end
58
58
 
59
- if registry["tess"]
59
+ if registry["tess"] and registry["tess"] != "NA"
60
60
  tags << create_tag("https://tess.elixir-europe.org/search?q=#{registry["tess"]}", "fa-graduation-cap", "Training")
61
61
  end
62
62
 
63
- if registry["europmc"]
63
+ if registry["europmc"] and registry["europmc"] != "NA"
64
64
  tags << create_tag("https://europepmc.org/article/MED/#{registry["europmc"]}", "fa-book", "Publication")
65
65
  end
66
66
 
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Ett
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.10'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elixir-toolkit-theme-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - bedroesb
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-07-26 00:00:00.000000000 Z
13
+ date: 2024-03-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jekyll