Skip to content

Commit

Permalink
Merge pull request #33 from magnolia-cms/rc-version-badge
Browse files Browse the repository at this point in the history
update the badge for rc release(s)
  • Loading branch information
mda-at-magnolia committed Aug 13, 2024
2 parents c49e292 + ef883d9 commit f31f8dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/layouts/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{> location}}
{{> countdown}}
{{> tableSort}}
{{#if (eq page.componentVersion.displayVersion '6.3 beta')}}
{{#if (eq page.componentVersion.displayVersion '6.3 rc')}}
{{> badge}}
{{/if}}
{{#if (eq page.component.name 'performance-tuning')}}
Expand All @@ -31,4 +31,4 @@
{{> badge}}
{{/if}}
</body>
</html>
</html>
8 changes: 4 additions & 4 deletions src/partials/badge.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="floating-badge" id="floating-badge">
<img src="{{{uiRootPath}}}/img/rebrand-icon-dark.svg" alt=""> <span>6.3 beta</span>
<img src="{{{uiRootPath}}}/img/rebrand-icon-dark.svg" alt=""> <span>6.3 RC</span>
</div>

<div class="dialog" id="dialog">
Expand All @@ -12,9 +12,9 @@
</div>
<div class="right-content">
<!-- Right content -->
<h3 class="dialogTitle">Magnolia 6.3 beta</h3>
<p class="dialogText">Magnolia 6.3 is in beta. We are updating docs based on development and feedback. Consider the 6.3 docs currently in a state of progress and not final.</p>
<p class="dialogText">We are working on some <a href="{{{siteRootPath}}}/product-docs/6.3/known-issues-beta/">6.3-beta known issues</a> during this phase.</p>
<h3 class="dialogTitle">Magnolia 6.3 RC</h3>
<p class="dialogText">Magnolia 6.3 is in Release Candidate status. We are updating docs based on development and feedback. Consider the 6.3 docs currently in a state of progress and not final.</p>
<p class="dialogText">We are working on some <a href="{{{siteRootPath}}}/product-docs/6.3/known-issues-beta/">6.3-rc known issues</a> during this phase.</p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/partials/footer-scripts.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
</script>
{{/if}}

{{#if (and (eq page.layout 'default') (eq page.componentVersion.displayVersion '6.3 beta'))}}
{{#if (and (eq page.layout 'default') (eq page.componentVersion.displayVersion '6.3 rc'))}}

<script type="text/javascript">
docsearch({
Expand Down

0 comments on commit f31f8dc

Please sign in to comment.