File tree 2 files changed +14
-20
lines changed
readthedocs/templates/core
2 files changed +14
-20
lines changed Original file line number Diff line number Diff line change 29
29
< span class ="right-menu quiet "> {% trans "No builds" %}</ span >
30
30
{% endif %}
31
31
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 ="# "> ▶</ a >
37
- </ span >
38
- </ span >
39
- {% else %}
40
32
< 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 >
42
40
</ ul >
43
- {% endif %}
44
41
45
42
46
43
</ li >
Original file line number Diff line number Diff line change 7
7
< a href ="{{ user.get_absolute_url }} " class ="quiet "> ({{ user }})</ a >
8
8
{% endfor %}
9
9
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 ="# "> ▶</ a >
15
- </ span >
16
- </ span >
17
- {% else %}
18
10
< 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 >
20
18
</ ul >
21
- {% endif %}
22
19
23
20
</ li >
24
21
You can’t perform that action at this time.
0 commit comments