Skip to content

Commit dc234ce

Browse files
author
Vivek Vishal
authored
Merge branch 'master' into master
2 parents d3c5021 + e640cb6 commit dc234ce

File tree

5 files changed

+45
-1
lines changed

5 files changed

+45
-1
lines changed

build/meshery-extensions.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.7.124-1
1+
v0.7.124-2
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: v0.7.124-2
3+
date: 2024-10-18T20:58:09Z
4+
tag: v0.7.124-2
5+
prerelease: false
6+
---
7+
8+
## What's New
9+
## 🔤 General
10+
## 🖌️ Designer
11+
12+
- [wip]tool mode ux @aabidsofi19 (#3007)
13+
14+
## 👨🏽‍💻 Contributors
15+
16+
Thank you to our contributors for making this release possible:
17+
@aabidsofi19, @l5io and @leecalcote

layouts/docs/list.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ <h1>{{ .Title }}</h1>
1111
{{ with .Params.plan }}
1212
{{ partial "plan-info.html" (dict "plan" .) }}
1313
{{ end }}
14+
{{- partial "feature-info.html" . -}}
1415
{{ .Content }}
1516
{{ partial "section-index.html" . -}}
1617

layouts/docs/single.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{{ define "main" }}
2+
{{ partial "feature-info.html" . }}
23
{{ .Render "content" }}
34
{{ end }}

layouts/partials/feature-info.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{{ $currentPage := .Page.Permalink }}
2+
{{ $features := .Site.Data.features }}
3+
4+
{{ if not $features }}
5+
{{ $features = getJSON "features.json" }}
6+
{{ end }}
7+
8+
{{ if $features }}
9+
{{ range $features }}
10+
{{ $docUrl := .documentation | default "" }}
11+
{{ $cleanDocUrl := (index (split $docUrl "#") 0) }} <!-- Remove the # fragment if it exists -->
12+
{{ if eq $cleanDocUrl $currentPage }}
13+
<div class="matterinfo">
14+
<h4 class="matterheader">Who can use this feature</h4>
15+
{{ $subscription_tier := index .entire_row "Subscription Tier" }}
16+
<div class="plan-support all-plans {{ lower $subscription_tier }}-plan">
17+
<img src="/images/subscription.svg" alt="Icon" class="support-icon adaptive-icon">
18+
Supported on <span class="tier">{{ $subscription_tier }}</span> Plan
19+
</div>
20+
</div>
21+
{{ break }}
22+
{{ end }}
23+
{{ end }}
24+
{{ end }}
25+

0 commit comments

Comments
 (0)