Skip to content

Commit 0395f1a

Browse files
committed
Build: highlight the name of the version
I find pretty hard to know what's the version of the current build on the build details' page, so I want to make it more visible. I'm following the same style/pattern we are following for the build id and I like it.
1 parent 2dbdac7 commit 0395f1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readthedocsext/theme/templates/builds/includes/build_name.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
{% else %}
5151
{# Translators: this renders with the version name, example "Version latest" #}
5252
{% blocktrans trimmed with version_name=build.get_version_name %}
53-
Version {{ version_name }}
53+
Versions
54+
<span class="divider">/</span>
55+
<code class="ui grey text">{{ version_name }}</code>
5456
{% endblocktrans %}
5557
{% endif %}
5658

0 commit comments

Comments
 (0)