-
Notifications
You must be signed in to change notification settings - Fork 185
Fix: display version in the footer on local instance #2101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
85f38ba
cba8d2c
c70e115
0713ce5
845be69
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,52 +54,30 @@ | |
</Button.Anchor> | ||
</Layout.Stack> | ||
</Layout.Stack> | ||
{#if isCloud && $isSmallViewport} | ||
<div class="extra-margin"> | ||
<Layout.Stack direction="row" justifyContent={'flex-start'} alignItems="center"> | ||
{#if $version} | ||
{#if isCloud} | ||
<Icon size="s" icon={IconCloud} /> | ||
{/if} | ||
<Link.Anchor | ||
size="s" | ||
variant="quiet" | ||
href="https://github.com/appwrite/appwrite/releases" | ||
aria-label="Appwrite releases on Github" | ||
target="_blank" | ||
rel="noreferrer"> | ||
Version {$version} | ||
</Link.Anchor> | ||
<span class="divider-wrapper"> | ||
<Divider vertical /> | ||
</span> | ||
{/if} | ||
<Badge size="xs" variant="secondary" content="BETA" /> | ||
</Layout.Stack> | ||
</div> | ||
{/if} | ||
<Layout.Stack | ||
direction="row" | ||
justifyContent={$isSmallViewport ? 'flex-start' : 'flex-end'} | ||
alignItems="center"> | ||
{#if isCloud} | ||
{#if !$isSmallViewport}<Badge size="xs" variant="secondary" content="BETA" /><Icon | ||
alignItems="center" | ||
wrap="wrap"> | ||
{#if !$isSmallViewport} | ||
{#if isCloud} | ||
<Badge size="xs" variant="secondary" content="BETA" /> | ||
<Icon size="s" icon={IconCloud} /> | ||
{/if} | ||
|
||
{#if $version} | ||
<Link.Anchor | ||
size="s" | ||
icon={IconCloud} /> | ||
{#if $version} | ||
<Link.Anchor | ||
size="s" | ||
variant="quiet" | ||
href="https://github.com/appwrite/appwrite/releases" | ||
aria-label="Appwrite releases on Github" | ||
target="_blank" | ||
rel="noreferrer"> | ||
Version {$version} | ||
</Link.Anchor> | ||
<span class="divider-wrapper"> | ||
<Divider vertical /> | ||
</span> | ||
{/if} | ||
variant="quiet" | ||
href="https://github.com/appwrite/appwrite/releases" | ||
aria-label="Appwrite releases on Github" | ||
target="_blank" | ||
rel="noreferrer"> | ||
Version {$version} | ||
</Link.Anchor> | ||
<span class="divider-wrapper"> | ||
<Divider vertical /> | ||
</span> | ||
{/if} | ||
{/if} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This closing {/if} statement appears to be misplaced or unmatched. Based on the diff context, it should correspond to the {#if !$isSmallViewport} condition that opens at line 85, but the indentation and logical flow suggest a structural issue in the conditional blocks. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
|
||
|
@@ -146,6 +124,26 @@ | |
Cookies | ||
</Link.Anchor> | ||
{/if} | ||
{#if $isSmallViewport} | ||
{#if $version} | ||
<span class="divider-wrapper"> | ||
<Divider vertical /> | ||
</span> | ||
<Link.Anchor | ||
size="s" | ||
variant="quiet" | ||
href="https://github.com/appwrite/appwrite/releases" | ||
aria-label="Appwrite releases on Github" | ||
target="_blank" | ||
rel="noreferrer"> | ||
Version {$version} | ||
</Link.Anchor> | ||
{#if isCloud} | ||
<Icon size="s" icon={IconCloud} /> | ||
<Badge size="xs" variant="secondary" content="BETA" /> | ||
{/if} | ||
{/if} | ||
{/if} | ||
</Layout.Stack> | ||
</Layout.Stack> | ||
</footer> | ||
|
Uh oh!
There was an error while loading. Please reload this page.