Show only the custom instance name in the header

It was funny to see the text "OpenVK" floating on the blank space in
some of the screenshots of users. :^)
This commit is contained in:
Ilya Prokopenko 2022-03-21 16:00:01 +03:00
parent 71c744c41f
commit 88cbde660b
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56
2 changed files with 2 additions and 3 deletions

View file

@ -99,7 +99,7 @@
<div class="layout">
<div id="xhead" class="dm"></div>
<div class="page_header{if $instance_name != OPENVK_DEFAULT_INSTANCE_NAME} page_custom_header{/if}">
<a href="/" class="home_button {if $instance_name != OPENVK_DEFAULT_INSTANCE_NAME}home_button_custom{/if}" title="{$instance_name}">{$instance_name}</a>
<a href="/" class="home_button{if $instance_name != OPENVK_DEFAULT_INSTANCE_NAME} home_button_custom{/if}" title="{$instance_name}">{if $instance_name != OPENVK_DEFAULT_INSTANCE_NAME}{$instance_name}{/if}</a>
<div n:if="isset($thisUser) ? (!$thisUser->isBanned() XOR !$thisUser->isActivated()) : true" class="header_navigation">
{ifset $thisUser}
<div class="link">

View file

@ -68,7 +68,6 @@ p {
.home_button {
position: absolute;
width: 145px;
text-indent: -999px;
height: 42px;
}