Skip to content

Commit 99191eb

Browse files
committed
Remove arrows
1 parent d9ee036 commit 99191eb

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

readthedocs/templates/core/project_list_detailed.html

+7-10
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,15 @@
2929
<span class="right-menu quiet">{% trans "No builds" %}</span>
3030
{% endif %}
3131

32-
{% if project.has_good_build %}
33-
<span class="dropdown" style="position:absolute; right:0px; top:0px;">
34-
<span>
35-
<a href="{{ project.get_docs_url }}">{% trans "View Docs" %}</a>
36-
<a href="#">&#x25B6;</a>
37-
</span>
38-
</span>
39-
{% else %}
4032
<ul class="module-item-menu">
41-
<li><a href="{{ project.get_builds_url }}">{% trans "No Docs" %}</a></li>
33+
<li>
34+
{% if project.has_good_build %}
35+
<a href="{{ project.get_docs_url }}">{% trans "View Docs" %}
36+
{% else %}
37+
<a href="{{ project.get_builds_url }}">{% trans "No Docs" %}</a>
38+
{% endif %}
39+
</li>
4240
</ul>
43-
{% endif %}
4441

4542

4643
</li>

readthedocs/templates/core/project_list_featured.html

+7-10
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,15 @@
77
<a href="{{ user.get_absolute_url }}" class="quiet">({{ user }})</a>
88
{% endfor %}
99

10-
{% if project.has_good_build %}
11-
<span class="dropdown" style="position:absolute; right:0px; top:0px;">
12-
<span>
13-
<a href="{{ project.get_docs_url }}">{% trans "View Docs" %}</a>
14-
<a href="#">&#x25B6;</a>
15-
</span>
16-
</span>
17-
{% else %}
1810
<ul class="module-item-menu">
19-
<li><a href="{{ project.get_builds_url }}">{% trans "No Docs" %}</a></li>
11+
<li>
12+
{% if project.has_good_build %}
13+
<a href="{{ project.get_docs_url }}">{% trans "View Docs" %}</a>
14+
{% else %}
15+
<a href="{{ project.get_builds_url }}">{% trans "No Docs" %}</a>
16+
{% endif %}
17+
</li>
2018
</ul>
21-
{% endif %}
2219

2320
</li>
2421

0 commit comments

Comments
 (0)