2013-05-24 16:54:30 +00:00
|
|
|
{#
|
2007-11-04 14:29:09 +00:00
|
|
|
/**
|
2008-10-13 12:31:43 +00:00
|
|
|
* @file
|
2007-11-04 14:29:09 +00:00
|
|
|
* Default theme implementation for rendering book outlines within a block.
|
2011-12-13 03:13:23 +00:00
|
|
|
*
|
|
|
|
* This template is used only when the block is configured to "show block on all
|
|
|
|
* pages", which presents multiple independent books on all pages.
|
2007-11-04 14:29:09 +00:00
|
|
|
*
|
|
|
|
* Available variables:
|
2013-05-24 16:54:30 +00:00
|
|
|
* - book_menus: Book outlines.
|
2014-06-13 02:46:38 +00:00
|
|
|
* - id: The parent book ID.
|
|
|
|
* - title: The parent book title.
|
2013-05-24 16:54:30 +00:00
|
|
|
* - menu: The top-level book links.
|
2011-12-13 03:13:23 +00:00
|
|
|
*
|
|
|
|
* @see template_preprocess_book_all_books_block()
|
|
|
|
*
|
|
|
|
* @ingroup themeable
|
2007-11-04 14:29:09 +00:00
|
|
|
*/
|
2013-05-24 16:54:30 +00:00
|
|
|
#}
|
2014-06-13 02:46:38 +00:00
|
|
|
{% for book in book_menus %}
|
2014-11-20 09:35:08 +00:00
|
|
|
<nav role="navigation" aria-label="{% trans %}Book outline for {{ book.title }}{% endtrans %}">
|
2014-06-13 02:46:38 +00:00
|
|
|
{{ book.menu }}
|
2011-11-05 02:46:09 +00:00
|
|
|
</nav>
|
2013-05-24 16:54:30 +00:00
|
|
|
{% endfor %}
|