Skip to content

Commit

Permalink
Fix additional whitespace in snapshot version
Browse files Browse the repository at this point in the history
  • Loading branch information
hammerhead committed Oct 19, 2023
1 parent 8da5ceb commit f477e2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Changes for Crate Admin Interface
Unreleased
==========

- Removed a superfluous whitespace shown for CrateDB snapshot versions


2023-07-05 1.24.4
=================
Expand Down
3 changes: 1 addition & 2 deletions app/views/statusbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
<div class="status-bar__content__item hide-m">{{ 'STATUSBAR.VERSION' | translate }}:
<div ng-if="version_warning " class="cr-bubble cr-bubble--danger"></div>
<span ng-show="version" data-original-title="{{ versions.join('\n') }}" rel="tooltip">
{{ version.number }}
<span ng-show="version.snapshot">-{{ 'STATUSBAR.SNAPSHOT' | translate }}-{{ version.hash.substr(0,7) }}</span>
{{ version.number }}<span ng-show="version.snapshot">-{{ 'STATUSBAR.SNAPSHOT' | translate }}-{{ version.hash.substr(0,7) }}</span>
</span>
</div>

Expand Down

0 comments on commit f477e2c

Please sign in to comment.