40 Commits

Author SHA1 Message Date
David Woloszyn
f3f816ced9 MDL-77144 core_grades: fix headings in grade area
Previous to this, heading logic was performed in print_grade_page_head.
With the deprecation of the showtitle param, it makes sense now to
explicitly set the heading when the function is called. This prevents
duplicated text between the heading and teriary dropdown. This patch
also fixes unnecessary text that was concatenated onto headings.
2023-05-11 10:09:09 +10:00
Jun Pataleta
3c6fdb1993 Merge branch 'MDL-71062-master' of https://github.com/sharidas/moodle 2022-07-13 11:39:08 +08:00
Sujith Haridasan
73d604369d MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
Paul Holden
e9135d6708 MDL-74314 grade: use repeatable form elements for grade letters. 2022-06-17 10:48:26 +01:00
Sujith Haridasan
aa1c2e2382 MDL-73848 administration: Fix the breadcrumbs and nav highlights
Create or update the breadcrumbs in the site administration
pages where it is required.
Highlight the corresponding site adminstration tab.
Highlight the primary nav to Site administration when user
is navigating to any of the site administration pages.

Also changed the boostnavbar so that the nodes in the secondary
navigation are not shown in the breadcrumbs when user is in site
administration page.
2022-03-25 17:44:47 +08:00
Mihail Geshoski
724578a008 MDL-73645 grades: Update breadcrumb nodes 2022-03-02 13:00:25 +08:00
Mihail Geshoski
08e90eeef4 MDL-72873 core_grades: Add tertiary navigation in grade letters 2021-12-16 00:10:13 +08:00
Eloy Lafuente (stronk7)
60fe1f8c9d MDL-68388 core_grades: Tweak unit test assertion to make Oracle happy
Also modify some comments and get rid of some void return types.
2020-05-26 19:00:24 +02:00
Andrew Nicols
17238ab079 MDL-68388 grade: Tidy comments and whitespace 2020-05-26 10:15:52 +08:00
Marcus Boon
f1f5ba36ad MDL-68388 core_grades: Use MUC for grade letters
In the get_grade_letters there is a static variable that is used
to cache grade letters, we should use MUC for this so that it is
reset properly between unit tests.
2020-05-26 09:06:50 +10:00
Charles YVANES
458453cee0 MDL-29895 core: removed require_login() when not needed 2018-09-10 11:22:50 +02:00
Adrian Perez
ac33483290 MDL-63002 core_grade: fixed deletion of overriden letters 2018-07-30 20:47:21 +08:00
Stephen Bourget
b4993d29f7 MDL-45837 Grades: Minor fixes to grade_letter events 2018-02-14 17:31:57 +01:00
Stephen Bourget
31647f0cc9 MDL-45837 Grades: Add events for grade letters 2018-02-09 11:41:38 +08:00
Sam Hemelryk
cb2cf2fed3 MDL-48189 grade: letters now covered by behat 2014-11-19 11:57:19 +13:00
Gilles-Philippe Leblanc
af14ef657a MDL-47501 gradebook: Add an indication that the grade letters was overridden 2014-11-18 17:13:40 +00:00
Frederic Massart
b53a658b26 MDL-39692 grade: Little code clean up of letter boundary deletion 2014-11-10 13:00:01 +08:00
Huy Hoang
1d693611e5 MDL-39692 grade: Ability to delete letter boundary 2014-11-10 12:14:31 +08:00
Damyon Wiese
a9a02e9170 MDL-20367 Grades: Allow real numbers as grade boundaries
Patch by Huy Hoang (I just git-ified it).
2014-10-21 11:15:39 +08:00
Andrew Davis
a153c9f2fe MDL-30999 grade: updated Grade API phpdocs 2012-02-14 14:04:19 +07:00
Petr Skoda
ace9051cc1 MDL-24321 switching to stdClass in /g*/ 2010-09-21 08:16:49 +00:00
Petr Skoda
4cc977a64d fixing messed up property_exists() regression - sorrrry 2010-09-17 20:36:49 +00:00
Petr Skoda
653f91f948 switch to property_exists() which is required in PHP 5.3 2010-09-17 19:14:41 +00:00
Andrew Davis
54caa598ee gradebook MDL-22522 fixed navigation issues around editing letters 2010-05-25 07:03:06 +00:00
Sam Hemelryk
76780d8884 NOBUG: Added missing call to require login to grade/edit/letter/index.php 2010-05-03 09:28:38 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
6c3ef4103a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:11:29 +00:00
nicolasconnault
1c1f64a2a6 MDL-19797 Optimising output code and JS/CSS requires. Also improved CSS for grader report 2009-08-24 15:10:36 +00:00
nicolasconnault
03fcc729ab MDL-19797 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:40:49 +00:00
nicolasconnault
5a93139440 MDL-19797 Converted all print_footer() calls 2009-08-06 14:12:17 +00:00
nicolasconnault
e060e33dc3 MDL-19727 Replaced boilerplates and removed ID tags. Merged from MOODLE_19_STABLE 2009-07-07 02:26:36 +00:00
nicolasconnault
dc482cfac0 MDL-18083 (including MDL-15680, MDL-17829, MDL-17807, MDL-18004, MDL-12631, MDL-16913) 2009-02-09 10:49:41 +00:00
nicolasconnault
d24832f9af MDL-14967 DB upgrades. Not finished yet. 2008-06-02 16:06:33 +00:00
dongsheng
c7a4be5e63 "MDL-14129, fix print_error" 2008-05-14 07:04:09 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
8ad36f4cc3 Added copyright notice 2007-10-10 06:34:20 +00:00
iarenaza
0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
skodak
9376f5a66a MDL-11583 fixed use of capability moodle/grade:manageletters - now works in plugin selector 2007-10-03 20:24:59 +00:00
skodak
284abb0925 MDL-11495 grade letter setting improvements:
* in_null for decimals defaults checks
* store letter settings only in database - no cfg settings
* separate configuration page for letters only - pluginselector+admin tree
* new capability to manage grade letters - similar to scales and outcomes
* added grade_letters db index
* grade letters related minor bugfixing
2007-09-28 20:12:43 +00:00