Commit 0fa07ff3 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Versions display: only if signed in

This is only consistent with the Heptapod and GitLab versions
not being displayed unless signed in.

--HG--
branch : heptapod
parent cfd7b187b509
......@@ -12,10 +12,10 @@
%small= "(GitLab CE #{Gitlab::VERSION})"
= version_status_badge
- py_versions = Gitlab.python_versions
%p
= "Mercurial #{py_versions['mercurial']} / Python #{py_versions['python']} / hg-evolve #{py_versions['evolve']}"
- if user_signed_in?
- py_versions = Gitlab.python_versions
%p
= "Mercurial #{py_versions['mercurial']} / Python #{py_versions['python']} / hg-evolve #{py_versions['evolve']}"
%hr
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment