Skip to content

Commit

Permalink
V2.8.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Mar 27, 2015
1 parent aaa8acb commit 5facb88
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ can be really useful in visualising the issue along with any files you consider

Version Information
===================
26th March 2015 Version 2.8.2.2
27th March 2015 Version 2.8.2.2
1. Added print media styles.

27th January 2015 Version 2.8.2.1
Expand Down
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function get_topcoll_section_name($course, $section, $additional) {
case 2:
case 3:
case 4:
$o .= ' - ' . get_string('topcolltoggle', 'format_topcoll'); // The word 'Toggle'.
$o .= '<span class="cttoggle"> - ' . get_string('topcolltoggle', 'format_topcoll') . '</span>'; // The word 'Toggle'.
break;
}
}
Expand Down
8 changes: 7 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -778,12 +778,18 @@ body.jsenabled #toggle-all {
text-align: right;
}

.cttoggle {
font-family: inherit;
font-size: inherit;
font-style: inherit;
}

/* print styles. */
@media print {
body.jsenabled .toggledsection {
display: block; /* If JavaScript is enabled and we are printing then this css will apply and the section will be shown. */
}
body.jsenabled #toggle-all, body.jsenabled #topcoll-display-instructions {
body.jsenabled #toggle-all, body.jsenabled #topcoll-display-instructions, .cttoggle {
display: none;
}
.course-content ul.ctopics li.section.main {
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*/
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2015032600;
$plugin->version = 2015032700;
$plugin->maturity = MATURITY_STABLE;
$plugin->requires = 2014111000.00; // 2.8 (Build: 20141110).
$plugin->component = 'format_topcoll';
Expand Down

0 comments on commit 5facb88

Please sign in to comment.