personal actions menu moved like portal menu

This commit is contained in:
giomba 2021-05-10 21:37:56 +02:00
parent 5869fce77a
commit 7e8aaad2ad
2 changed files with 2 additions and 7 deletions

View File

@ -1,9 +1,5 @@
/* Personal */
#p-personal {
h3 {
display: none;
}
ul {
list-style-type: none;
list-style-image: none;

View File

@ -167,8 +167,7 @@ class VectorTemplate extends BaseTemplate {
</div>
<div id="mw-panel">
<?php $this->renderNavigation( [ 'NAMESPACES', 'VARIANTS', 'VIEWS', 'ACTIONS', 'PERSONAL' ] ); ?>
<?php $this->renderNavigation( [ 'SEARCH' ] ); ?>
<?php $this->renderNavigation( [ 'SEARCH', 'PERSONAL', 'NAMESPACES', 'VARIANTS', 'VIEWS', 'ACTIONS' ] ); ?>
<?php $this->renderPortals( $this->data['sidebar'] ); ?>
</div>
</div>
@ -424,7 +423,7 @@ class VectorTemplate extends BaseTemplate {
break;
case 'PERSONAL':
?>
<div id="p-personal" role="navigation" class="<?php
<div id="p-personal" role="navigation" class="portal<?php
if ( count( $this->data['personal_urls'] ) == 0 ) {
echo ' emptyPortlet';
}