48 Commits

Author SHA1 Message Date
Laurent David
5a1e8156d7 MDL-76071 mod_choice: fix choice display on graphs
* The setting "Display mode" modifies the choices alignment of radio choice button
from horizontally to vertically. It should also display the list of choices in
the graph in the same directions.
2022-10-25 10:41:49 +02:00
Mihail Geshoski
78b2a70de5 MDL-73438 choice: Tertiary navigation changes
Removes unnecessary breadcrumb items, updates the headings and
repositions the groups selector in the view and responses page.
2022-01-12 13:13:57 +08:00
Luca Bösch
84197640eb MDL-37745 mod_choice: Show taken and limit. 2020-07-26 00:08:37 +02:00
Tim Hunt
19f221961e MDL-68233 renderers/block: fix reported coding style issues 2020-03-29 15:35:04 +01:00
Tim Hunt
1dcd0d3499 MDL-68233 renderers/block: remove illegal uses of $PAGE and $OUTPUT 2020-03-29 15:34:26 +01:00
Jun Pataleta
bc003428bc MDL-66874 mod_choice: Explicitly add btn-secondary class to select all 2019-10-14 11:27:19 +08:00
Jun Pataleta
ea382408ce MDL-65928 mod_choice: Use correct options attribute
* Should be 'classes', not 'class'.
2019-07-17 09:54:03 +08:00
Jun Pataleta
622d83d7bc MDL-65928 mod_choice: Use proper string for 'select/deselect all' labels
* Because string concatenation is bad!
2019-07-12 16:33:35 +08:00
Jun Pataleta
71eadbec62 MDL-65928 mod_choice: Add select/deselect all master button 2019-07-12 14:36:35 +08:00
Jun Pataleta
c7ad9f3439 MDL-65928 mod_choice: Use core/checkbox_toggleall 2019-07-12 14:36:35 +08:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
David Monllao
df060516ed Merge branch 'MDL-60938-master-2' of git://github.com/junpataleta/moodle 2017-12-19 07:53:15 +01:00
Jun Pataleta
07a46481fe MDL-61040 mod_choice: Save my choice button needs some space 2017-12-15 13:06:14 +13:00
Jun Pataleta
af6c39045e MDL-60938 mod_choice: Fix rendering of users for choice results 2017-12-15 12:52:16 +13:00
Adrian Greeve
7b4e995015 MDL-60546 mod_choice: Update to select all functionality. 2017-11-22 14:10:55 +08:00
Marcus Fabriczy
f32ee5c54e MDL-60546 mod_choice: Fixed select all functionality
Fixed the functionality which ticks or unticks all checkboxes when
clicking the Select all or Deselect all elements when viewing the
responses.

Caused by deprecating checkall and checknone functions in
MDL-57490.
2017-11-17 20:08:29 +10:30
Damyon Wiese
998432c2c9 MDL-56724 mod_choice: Improve alignment and checkboxes on dates 2016-11-15 09:07:42 +00:00
Damyon Wiese
bf5dcc8abb MDL-56724 mod_choice: coding style fixes
For the lines affected by this patch.
2016-11-14 11:38:36 +08:00
Damyon Wiese
eaf45bce09 MDL-56724 boost: Update mod_choice to use bootstrap classes for styles 2016-11-14 11:37:45 +08:00
Marina Glancy
8676e7c3e0 MDL-18592 mod_choice: Allow teachers to make choice for students
Capability to delete reponses becomes capability to delete or modify
responses.

This also resolves MDL-51659 (incorrect events answer_submitted and
answer_updated) by deprecating them and replacing with the answer_created
2016-08-08 14:16:57 +08:00
Simey Lameze
9698ca2d20 MDL-55352 core: Label values series should override tooltip 2016-07-29 13:22:59 +08:00
Simey Lameze
e747d65514 MDL-54987 mod_choice: Fix notices and behat failures 2016-07-26 16:24:35 +08:00
Simey Lameze
32917a9561 MDL-54987 core: final charts project polishing 2016-07-25 10:43:35 +01:00
Simey Lameze
1850e97e37 MDL-55208 mod_choice: Convert choice results chart to new library
Part of MDL-54987 epic.
2016-07-25 10:43:33 +01:00
Marina Glancy
15a237cea6 MDL-37946 mod_choice: swap horizontal and vertical graphs 2016-05-25 21:31:36 +08:00
David Monllao
889a9fbba1 MDL-49811 mod_choice: Removing skipresultgraph link
The target of the link is not available after MDL-30816.
2015-10-06 16:26:54 +01:00
jinhofer
0b7856efbe MDL-49811 lib: Added js to skiplinks
I have added a JS module to handle skiplinks to send
the focus to the end of the block. This improves the function
and allows the user to better tab through the page.
2015-10-05 06:17:58 -05:00
Dan Poltawski
86e5b0a707 Merge branch 'MDL-49220-master' of https://github.com/lucisgit/moodle 2015-02-24 16:54:58 +00:00
Tony Butler
c30dbd69e7 MDL-49220 mod_choice: Add option to allow students to preview choices 2015-02-20 14:27:55 +00:00
Petr Skoda
5fb2315a8b MDL-49184 choice: fix block actions
The problems was that blocks editing breaks if you redirect
after if (data_submitted()) - all form actions must make sure
it is really their form, otherwise they may hijack the post from
block actions.

Note that this is not a problem for mforms, only legacy forms
are affected.

# Conflicts:
#	mod/choice/view.php
2015-02-17 17:00:15 +13:00
Michael Aherne
54bdf1d406 MDL-3034 choice Support multiple answers 2014-09-25 11:33:55 +12:00
Sam Hemelryk
c7afe6b76f MDL-44153 mod_choice: unified @package use 2014-02-18 11:24:30 +13:00
Rossiani Wijaya
8f0767f10c MDL-40732 choice: improve heading levels and styling 2013-08-20 16:05:01 +08:00
Rossiani Wijaya
f92547f81c MDL-33575 choice module: add label to checkbox element when privacy of results is set to publish full results 2012-07-17 10:18:39 +08:00
Sam Hemelryk
bd1fdb6a1b Revert "MDL-33575 choice module: add label to checkbox element when privacy of results is set to publish full results"
This reverts commit 440821205aa03cf1a415f491296a0022abe64a8b.
2012-07-12 18:20:48 +12:00
Sam Hemelryk
440821205a MDL-33575 choice module: add label to checkbox element when privacy of results is set to publish full results 2012-07-09 10:56:14 +12:00
Rossiani Wijaya
a50f89ecf5 MDL-30816 Choice module: add format_string() for choice name. 2012-07-05 12:16:30 +08:00
Rossiani Wijaya
0ed9c7456d MDL-30816 choice module: fixed accessibility for responses table and make it easier for screenreader to read it 2012-07-05 10:19:55 +08:00
Ankit Agarwal
546a3f8130 MDL-30815 Choice Labels are now explicitly tied with input elements 2012-02-13 08:26:45 +05:30
Dan Marsden
c9b8a78951 MDL-29690 fix usage of select all/deselect all in choice reports 2011-10-07 21:41:35 +13:00
Dan Marsden
b447192e8f Choice MDL-27959 invalid strings 2011-06-21 16:39:46 +12:00
Dan Marsden
6fa51b70a5 MDL-25177 Choice - fix typo for form creation causing pop-up window - thanks to Jason Hardin for fix 2011-05-19 13:01:21 +12:00
Dan Marsden
6e4453f5f8 CHOICE MDL-24102 use correct url in form submission 2010-11-19 03:23:14 +00:00
Dan Marsden
f51d388c78 CHOICE MDL-24102 fix lang string 2010-11-19 02:48:39 +00:00
Petr Skoda
034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
rwijaya
31d085e2a3 MDL-20508 - Modified $PAGE and $OUTPUT to $this->page and $this->output 2010-07-28 09:27:28 +00:00
Rossiani Wijaya
aad6246860 MDL-20508 - fixed options styles and layout. 2010-07-26 03:00:39 +00:00
Rossiani Wijaya
315d4971f3 MDL-20508 - update choice module to fix accessibility issue and eliminate the use of table. 2010-07-23 03:55:06 +00:00