diff --git a/gui/main.go b/gui/main.go
index bc4487c..f6b1d9f 100644
--- a/gui/main.go
+++ b/gui/main.go
@@ -259,6 +259,10 @@ func checkUpdates(forced bool) ([]string, []string) {
if *release.Name == version {
newer = false
}
+ if strings.HasPrefix(version, *release.Name + "-") { // git describe format
+ newer = false
+ latest = version
+ }
if newer {
versions = append(versions, *release.Name)
descriptions = append(descriptions, *release.Body)
diff --git a/gui/templates/views/manage.tmpl b/gui/templates/views/manage.tmpl
index bdfd3d9..03631cb 100644
--- a/gui/templates/views/manage.tmpl
+++ b/gui/templates/views/manage.tmpl
@@ -44,7 +44,9 @@
{{ end }}
{{ if eq $item.Name "LabCA Application" }}
-
+
+
+
@@ -628,6 +630,7 @@
if (data.Success) {
if (data.UpdateAvailable) {
$("#version-update").removeClass("hidden");
+ $("#version-conditional-break").removeClass("hidden");
var notes = "RELEASE NOTES
";
jQuery.each(data.Versions, function(idx, val) {
@@ -647,6 +650,8 @@
});
} else {
$("#version-update").addClass("hidden")
+ $("#version-conditional-break").addClass("hidden");
+
BootstrapDialog.show({
title: 'No new version',
message: 'There is currently no newer version available.',