diff --git a/readthedocs/templates/core/project_detail_right.html b/readthedocs/templates/core/project_detail_right.html index b3e3e9dca00..1f889be1b24 100644 --- a/readthedocs/templates/core/project_detail_right.html +++ b/readthedocs/templates/core/project_detail_right.html @@ -122,11 +122,3 @@

{% trans "Sub Projects" %}

{% endif %} {% endblock %} - -{% block defaults %} -

{% trans "Default Version" %}

-

{{ project.get_default_version }}

- -

{% trans "'latest' Version" %}

-

{{ project.get_default_branch }}

-{% endblock %} diff --git a/readthedocs/templates/core/project_details.html b/readthedocs/templates/core/project_details.html index a8f9f52a3c9..dc01b6335ca 100644 --- a/readthedocs/templates/core/project_details.html +++ b/readthedocs/templates/core/project_details.html @@ -29,9 +29,13 @@

{% trans "Versions" %}

{# Link to the docs #} {{ version.slug }} - {% if request.user in project.users.all %} + {% if request.user|is_admin:project %} {{ version.get_privacy_level_display }} {% endif %} + + {% if not version.slug in version.identifier %} + {{ version.identifier_friendly|truncatechars:24 }} + {% endif %} {% else %} @@ -53,6 +57,7 @@

{% trans "Versions" %}

+ {% block build_versions %} {% if versions and request.user|is_admin:project %}