Skip to content

Commit 1d88617

Browse files
Merge pull request #683 from redis/DOC-4289-tabs-error
DOC-4289 fix issues with TCE tabs
2 parents 6b46f32 + bcd14dd commit 1d88617

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layouts/partials/tabs/wrapper.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
{{ range $i, $tab := $tabs }}
1313
{{ $tid := printf "%s_%s" (replace (replace (index $tab "title") "#" "sharp") "." "") $id }}
1414
{{ $pid := printf "panel_%s" $tid }}
15-
<input tabindex="1" type="radio" name="{{ $id }}" id="{{ $tid }}" data-lang="{{ index $tab "language" }}" class="radiotab w-0 h-0"
15+
{{ $dataLang := replace (or (index $tab "language") "redis-cli") "C#" "dotnet" }}
16+
<input tabindex="1" type="radio" name="{{ $id }}" id="{{ $tid }}" data-lang="{{ $dataLang }}" class="radiotab w-0 h-0"
1617
{{ if eq $i 0 }}checked{{ end }}
1718
/>
1819
<label class="justify-left label ml-4 pt-3.5 px-3 pb-1 cursor-pointer text-sm text-center bg-redis-ink-900

0 commit comments

Comments
 (0)