From 1b497b56281a41658c55c7259977694233347117 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Fri, 12 Jan 2018 16:43:06 -0500 Subject: [PATCH] Move project description to the top When there are many versions, is difficult to see the project description. --- .../templates/core/project_details.html | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/readthedocs/templates/core/project_details.html b/readthedocs/templates/core/project_details.html index a8f9f52a3c9..1b26d5a4723 100644 --- a/readthedocs/templates/core/project_details.html +++ b/readthedocs/templates/core/project_details.html @@ -14,6 +14,16 @@ {% endif %} +
+ {% if project.description %} +

{% trans "Description" %}

+
+

+ {{ project.description|restructuredtext }} +

+
+ {% endif %} +

{% trans "Versions" %}

@@ -73,17 +83,6 @@

{% trans "Build a version" %}

{% endif %} {% endblock %} -
-{% if project.description %} -

{% trans "Description" %}

-
-

- {{ project.description|restructuredtext }} -

-
-{% endif %} -
-
{# END .module #}