Commit Graph

45 Commits

Author SHA1 Message Date
Rajneel Totaram bfea7da668 MDL-76982 mod_book: Make previous/next buttons sticky 2023-08-18 18:53:10 +12:00
David Mudrák b407af725f MDL-73464 book: Scroll to chapter top when navigating through the book
When navigating to the next / previous chapter, the chapter should be
the page element that gets the user's attention and focus. Its title
should be displayed at the prominent top page area without the need to
scroll to it all the time.
2023-05-24 14:32:45 +08:00
Ilya Tregubov 1ff7767b70 Merge branch 'MDL-78152' of https://github.com/paulholden/moodle 2023-05-17 15:06:45 +08:00
Laurent David e489ae2492 MDL-76903 mod_book: Fix activity completion
* Check only visibles pages to set completion status.
* Make sure we have consistent completion value in API and on the view page.
2023-05-11 11:47:18 +02:00
Paul Holden 1d66c4cbfb MDL-78152 mod_book: set permissions required for page editing. 2023-05-09 11:51:38 +01:00
Mihail Geshoski cbf74374c4 MDL-73355 mod_book: Update the zero state view
Updates the zero state view (when there is no content yet) in
the book activity and also fixes the highlighting of the active
item in the secondary navigation menu in the 'Add new chapter'
page.
2022-02-23 21:44:08 +08:00
Ilya Tregubov 9e5ffa2229 Merge branch 'MDL-72095-master-3' of https://github.com/bmbrands/moodle 2021-12-13 18:46:16 +02:00
Peter Dias dd9ee99064 MDL-72413 book: Use the common module for setting the header 2021-12-13 09:49:34 +08:00
Bas Brands 946fd915e2 MDL-72095 theme_boost: max width for activity pages 2021-12-08 17:29:49 +01:00
abgreeve 0c5e1bff21 MDL-71912 mod_book: Update book to implement the action menu.
Co-authored-by: Sujith Haridasan <sujith@moodle.com>
2021-11-09 11:24:08 +08:00
Jun Pataleta 6b46ce4c48 MDL-71161 mod_book: Display activity information output component 2021-04-13 01:21:11 +08:00
Luca Bösch ee4abdc11d MDL-68253 mod_book: Remove prev arrow on the firstmost page. 2020-05-15 12:20:13 +02:00
Bas Brands b35d4d8e8e MDL-68250 mod_book: make book navigation separation
Make the book navigation more distinguishable from activity navigation
2020-03-25 15:35:15 +01:00
John Yao 978570637d MDL-67524 book: fixing view hidden chapter issue
* Users who has permission should be able to view after turning editing off
2019-12-23 09:49:51 +11:00
Mihail Geshoski 03e9b0766f MDL-62835 resource: Display description for book, lesson and imscp 2019-06-04 13:26:28 +08:00
Simey Lameze 1c729ff624 MDL-59785 mod_book: all navigation styles must mark as completed 2017-08-10 16:11:33 +08:00
Andrew Hancox 0178314682 MDL-57457 mod_book: Implement tagging 2017-04-21 10:06:08 +08:00
Damyon Wiese 2b931458ad MDL-40759 plugins: Add font icon mapping to all plugins 2017-03-17 15:51:29 +08:00
Andrew Nicols 3cf1fea55a MDL-56270 mod_book: Add next/prev chapter to attributes
This adds the details of the next/previous chapter to the image
attributes and link for the in-page chapter-to-chapter navigation.
2016-10-05 11:38:18 +08:00
Russell Smith 1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
David Monllao 3f1bc32d22 Merge branch 'MDL-51232' of git://github.com/jinuabraham/moodle 2015-09-14 09:38:56 +08:00
Juan Leyva 1af52267d3 MDL-50013 mod_book: Move logging and completion to new API 2015-09-04 11:17:39 +02:00
Jinu Abraham b6c97f4c2b MDL-51232 mod_book: Filter name header 2015-08-31 12:04:01 +09:30
David Balch f4de846143 MDL-36874 mod_book: Add text navigation.
Based on a patch by Matthew Cannings, this replaces Book's previous/next arrow
image links with a choice of: no links, image links, or chapter title text links.
2014-10-29 09:43:10 +00:00
Petr Skoda ef2a9ece71 MDL-45144 convert book events to create_from_xxx() helpers 2014-04-17 14:29:31 +08:00
Marina Glancy fbc4b77841 MDL-44321 events: cleaning up course_module_viewed event 2014-02-28 16:36:09 +08:00
Frederic Massart 7f6e3eefd1 MDL-40060 mod_book: Replace add_to_log with events 2013-10-08 14:11:10 +08:00
Dan Poltawski e025a2fc43 Merge branch 'MDL-40686' of git://github.com/rwijaya/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2013-09-10 13:39:01 +08:00
Rossiani Wijaya d8a6d49c5f MDL-40686 book: fix heading level and styling 2013-09-09 09:46:27 +08:00
Damyon Wiese 74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c.
2013-08-21 13:42:30 +08:00
sam marshall ab7632b74c MDL-39876 Change get_record('course') calls to get_course 2013-08-15 11:31:20 +01:00
prateeksachan 1bd6a2d051 MDL-38794 passed overflowdiv parameter 2013-04-17 20:35:52 +05:30
Frederic Massart bdb66a4635 MDL-36628 usability: CSS adjustments for book module 2012-11-23 11:30:05 +08:00
Sam Hemelryk e118ad21c9 Merge branch 'MDL-34274-master' of git://github.com/ankitagarwal/moodle 2012-10-30 16:00:45 +13:00
Marina Glancy 7f4550529a MDL-35895 Correctly build return to course link in book module 2012-10-15 14:17:36 +08:00
Ankit Agarwal 131688cf94 MDL-34274 book: Adding ability to log chapter view and chapter print 2012-10-11 11:46:15 +08:00
Ankit Agarwal 5219cc87ec MDL-33646 book: Adding a notice instead of error when there is no content in the book 2012-10-04 13:25:18 +08:00
Ankit Agarwal 98e8c0c76d MDL-33198 book: Adding h tags to book title to increase accessibility 2012-09-18 09:43:47 +08:00
Ankit Agarwal 93ec553969 MDL-35223 book: use chapter names in page titles 2012-09-07 10:10:01 +08:00
Tõnis Tartes 5b7e511ea8 MDL-33121 Book Module: performed minor changes and cleanup for the module 2012-06-13 15:28:07 +08:00
Rossiani Wijaya b15ef0b058 MDL-33121 Book Module: Fixed documentation header 2012-06-13 15:25:23 +08:00
Eloy Lafuente (stronk7) 29656fe24b MDL-32709 book: coding style, deprecated and minor fixes 2012-05-20 21:47:58 +02:00
Eloy Lafuente (stronk7) 1fc9e895ef MDL-32709 book: replace some deprecated stuff. Some pending yet, blame $PAGE 2012-05-20 21:47:50 +02:00
Eloy Lafuente (stronk7) 3542c4f4a9 MDL-32709 book: general comments and phpdocs cleanup 2012-05-20 21:47:29 +02:00
Eloy Lafuente (stronk7) e81c01b676 Subtree merged git://github.com/skodak/moodle-mod_book.git (master branch) into mod/book 2012-05-20 21:43:40 +02:00