wrong class name for portal lists

This commit is contained in:
giomba 2021-05-10 21:30:36 +02:00
parent d5d1b0ebb7
commit 5869fce77a
1 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ class VectorTemplate extends BaseTemplate {
switch ( $element ) { switch ( $element ) {
case 'NAMESPACES': case 'NAMESPACES':
?> ?>
<div id="p-namespaces" role="navigation" class="panel<?php <div id="p-namespaces" role="navigation" class="portal<?php
if ( count( $this->data['namespace_urls'] ) == 0 ) { if ( count( $this->data['namespace_urls'] ) == 0 ) {
echo ' emptyPortlet'; echo ' emptyPortlet';
} }
@ -378,7 +378,7 @@ class VectorTemplate extends BaseTemplate {
break; break;
case 'VIEWS': case 'VIEWS':
?> ?>
<div id="p-views" role="navigation" class="panel<?php <div id="p-views" role="navigation" class="portal<?php
if ( count( $this->data['view_urls'] ) == 0 ) { if ( count( $this->data['view_urls'] ) == 0 ) {
echo ' emptyPortlet'; echo ' emptyPortlet';
} }