-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joseph Newman
authored and
Joseph Newman
committed
Feb 7, 2024
1 parent
7903803
commit f9e8159
Showing
3 changed files
with
46 additions
and
55 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
{{#with page.versions}} | ||
<div class="page-versions"> | ||
{{!-- | ||
<button class="version-menu-toggle" title="Show other versions of page"><div class="button-text">{{@root.page.componentVersion.displayVersion}}</div> | ||
<div class="button-arrow"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"> | ||
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/> | ||
</svg> | ||
</div> | ||
</button> | ||
<ul class="version-menu"> | ||
{{#each this}} | ||
<li class="version | ||
{{~#if (and (eq .. @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}} | ||
{{~#if (eq this ../latest)}} is-latest{{/if}}"> | ||
<a href="{{{relativize ./url}}}">{{./displayVersion}}</a> | ||
</li> | ||
{{/each}} | ||
</ul> | ||
--}} | ||
</div> | ||
<div class="page-versions"> | ||
{{!-- | ||
<button class="version-menu-toggle" title="Show other versions of page"><div class="button-text">{{@root.page.componentVersion.displayVersion}}</div> | ||
<div class="button-arrow"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"> | ||
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/> | ||
</svg> | ||
</div> | ||
</button> | ||
--}} | ||
<ul class="version-menu"> | ||
{{#each this}} | ||
<li class="version | ||
{{~#if (and (eq .. @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}} | ||
{{~#if (eq this ../latest)}} is-latest{{/if}}"> | ||
<a href="{{{relativize ./url}}}">{{./displayVersion}}</a> | ||
</li> | ||
{{/each}} | ||
</ul> | ||
</div> | ||
{{/with}} |