Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion piccolo_theme/components/notification_banner.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="notification_banner" data-banner-hiding="{{ theme_banner_hiding }}" v-show="!permanentlyHidden">
<p v-if="visible" id="content">{{ theme_banner_text | safe }}</p>
<a class="close" href="#" @click.prevent="toggleVisible()">[[ visible ? '&#x25B2; HIDE' : '&#x25BC; SHOW BANNER' ]]</a>
<a class="close" href="#" @click.prevent="toggleVisible()">[[ visible ? '&#x25B2; {{ _('HIDE') }}' : '&#x25BC; {{ _('SHOW BANNER') }}' ]]</a>
</div>

<script>
Expand Down
6 changes: 3 additions & 3 deletions piccolo_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h1><a href="{{ pathto(root_doc)|e }}" title="Go to homepage">{{ nav_title }}</a

{%- if pagename != "search" %}
<p class="mobile_search_link">
<a href="{{ pathto('search') }}" title="Search">
<a href="{{ pathto('search') }}" title="{{ _('Search') }}">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 65 64" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2">
<path d="M14.873 40.009c-2.315-3.943-3.642-8.532-3.642-13.429C11.231 11.91 23.141 0 37.811 0s26.58 11.91 26.58 26.58-11.91 26.58-26.58 26.58a26.44 26.44 0 0 1-14.277-4.161L9.739 62.794a3.12 3.12 0 0 1-4.413 0L.913 58.382c-1.217-1.218-1.217-3.196 0-4.413l13.96-13.96zM37.811 8.054c10.225 0 18.526 8.301 18.526 18.526s-8.301 18.526-18.526 18.526-18.526-8.301-18.526-18.526S27.586 8.054 37.811 8.054z" fill="#fff" />
</svg>
Expand All @@ -54,11 +54,11 @@ <h1><a href="{{ pathto(root_doc)|e }}" title="Go to homepage">{{ nav_title }}</a
{%- block sidebar2 %}
{% if display_toc %}
<div id="show_right_sidebar">
<p><a class="toggle_right_sidebar" href="#"><span class="icon">&lt;</span><span>Page contents<span></a></p>
<p><a class="toggle_right_sidebar" href="#"><span class="icon">&lt;</span><span>{{ _('Page contents') }}<span></a></p>
</div>

<div id="right_sidebar">
<p><a class="toggle_right_sidebar" href="#"><span class="icon">&gt;</span><span>Page contents:<span></a></p>
<p><a class="toggle_right_sidebar" href="#"><span class="icon">&gt;</span><span>{{ _('Page contents') }}:<span></a></p>
<div class="page_toc">
{{ toc }}
</div>
Expand Down