1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 22:41:28 +02:00

[ticket/11552] MCP fixes, responsive logs

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin
2013-09-27 14:29:15 +03:00
parent 8093e4e053
commit 961a27091e
4 changed files with 66 additions and 5 deletions

View File

@@ -684,5 +684,14 @@ function insert_single_user(formId, user)
$('.responsive-tabs').hide();
}
});
// Hide *CP navigation if there is only 1 item
$('#navigation').each(function() {
var items = $(this).children('ol, ul').children('li');
if (items.length == 1)
{
$(this).addClass('responsive-hide');
}
});
});
})(jQuery);

View File

@@ -147,7 +147,7 @@
<h3>{L_LATEST_LOGS}</h3>
<table class="table1" cellspacing="0">
<table class="table1 responsive mcp-logs" cellspacing="0">
<thead>
<tr>
<th class="name">{L_ACTION}</th>

View File

@@ -21,7 +21,7 @@
</li>
</ul>
<table cellspacing="1" class="table1">
<table cellspacing="1" class="table1 responsive mcp-logs-full">
<thead>
<tr>
<th>{L_USERNAME}</th>