diff --git a/app/templates/base.html b/app/templates/base.html index 47c5db9..43cc906 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -65,16 +65,7 @@

Base Package: {{ s.name }}

Version:
-
{{ s.version }}
- -
GIT Version:
-
- {% if s.git_version %} - {{ s.git_version }} - {% else %} - - - {% endif%} -
+
{{ s.version }}{% if s.version != s.git_version %} ({{ s.git_version }} in git){% endif %}
External:
diff --git a/app/templates/outofdate.html b/app/templates/outofdate.html index e504ee8..7625b88 100644 --- a/app/templates/outofdate.html +++ b/app/templates/outofdate.html @@ -61,7 +61,7 @@
{{ s.name }} - {{ myver }}{% if gitver %} ({{ gitver }} in git){% endif %} + {{ myver }}{% if gitver %} ({{ gitver }} in git){% endif %} → {{ ver }} {% if s.active_vulnerabilities %} diff --git a/app/templates/package.html b/app/templates/package.html index 1284ea5..2c56892 100644 --- a/app/templates/package.html +++ b/app/templates/package.html @@ -59,16 +59,7 @@

Package: {{ p.name }}<
{{ licenses_to_html(p.licenses)|safe }}
Version:
-
{{ p.version }}
- -
GIT Version:
-
- {% if s.git_version %} - {{ s.git_version }} - {% else %} - - - {% endif%} -
+
{{ p.version }}{% if p.version != s.git_version %} ({{ s.git_version }} in git){% endif %}
External: