Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more mobile fixes. Wait with releasing for a bit more.
- Loading branch information
Showing
3 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/sphinxtheme/plone/plone_basic/version_buttondropdown.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{% if theme_always_show_version_switcher or (theme_version_switcher and version|length > 1) %} | ||
|
||
|
||
<div class="dropdown"> | ||
<button class="btn btn-info btn-lg dropdown-toggle" type="button" id="dropdownversion" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> | ||
Version: {{ theme_selected_version }} | ||
<span class="caret"></span> | ||
</button> | ||
<ul class="dropdown-menu" aria-labelledby="dropdownversion"> | ||
|
||
{% for vers in version %} | ||
<li><a href="https://docs.plone.org/{{vers}}"> Version: {{vers}}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endif %} |