mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 09:26:05 +00:00
Merge "Revert "Render dates as headings""
This commit is contained in:
commit
d999614146
|
@ -56,9 +56,7 @@ class SpecialNotifications extends SpecialPage {
|
||||||
// Output the date header if it has not been displayed
|
// Output the date header if it has not been displayed
|
||||||
if ( $dateHeader !== $row['timestamp']['date'] ) {
|
if ( $dateHeader !== $row['timestamp']['date'] ) {
|
||||||
$dateHeader = $row['timestamp']['date'];
|
$dateHeader = $row['timestamp']['date'];
|
||||||
$notices .= Html::openElement( 'li' );
|
$notices .= Html::rawElement( 'li', array( 'class' => 'mw-echo-date-section' ), $dateHeader );
|
||||||
$notices .= Html::element( 'h2', array( 'class' => 'mw-echo-date-section' ), $dateHeader );
|
|
||||||
$notices .= Html::closeElement( 'li' );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$class = 'mw-echo-notification';
|
$class = 'mw-echo-notification';
|
||||||
|
|
Loading…
Reference in a new issue