Skip to content

Commit

Permalink
feat(ember): version indicator/tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Feb 26, 2024
1 parent a71c01d commit 8a138aa
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions ember/app/components/top-nav/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,26 @@
>
<nav class="navbar-container" uk-navbar>
<div class="uk-navbar-left">
<LinkTo @route="projects" class="uk-navbar-item uk-logo uk-visible@m">
Outdated
</LinkTo>
<div class="uk-navbar-item uk-logo uk-visible@m">
<LinkTo
{{uk-tooltip (concat "v" (app-version versionOnly=true))}}
@route="projects"
class="uk-link-reset"
>
Outdated
</LinkTo>
</div>

<ul class="button-nav uk-hidden@m">
<li>
<LinkTo
@route="projects.index"
@current-when="projects.index projects.detailed not-found"
class="uk-hidden@m"
{{uk-tooltip
(concat "v" (app-version versionOnly=true))
offset=false
}}
>Outdated</LinkTo>
</li>
</ul>
Expand Down

0 comments on commit 8a138aa

Please sign in to comment.