mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 01:08:19 +03:00
Мелкие исправления
This commit is contained in:
parent
6690964639
commit
c0c92ba5c5
|
@ -25,7 +25,7 @@
|
|||
* @package application.blocks
|
||||
* @since 1.0
|
||||
*/
|
||||
class BlockTagsFavouriteTopic extends Block
|
||||
class BlockTagsPersonalTopic extends Block
|
||||
{
|
||||
/**
|
||||
* Запуск обработки
|
||||
|
@ -54,7 +54,7 @@ class BlockTagsFavouriteTopic extends Block
|
|||
$this->Viewer_Assign('user', $oUser, true);
|
||||
$this->Viewer_Assign('activeTag', $this->getParam('activeTag'), true);
|
||||
|
||||
$this->SetTemplate('component@tags-favourite.cloud');
|
||||
$this->SetTemplate('component@tags-personal.cloud');
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,9 +1,15 @@
|
|||
/**
|
||||
* Кнопка прокрутки вверх
|
||||
*
|
||||
* TODO: Fix icons;
|
||||
*/
|
||||
|
||||
.ls-toolbar-item--scrollup { display: none; }
|
||||
.ls-toolbar-item--scrollup i { background-position: -288px -120px; }
|
||||
.ls-toolbar-item--scrollup.active i { background-position: -313px -119px; }
|
||||
.ls-toolbar-item--scrollup {
|
||||
display: none;
|
||||
}
|
||||
.ls-toolbar-item--scrollup i {
|
||||
-webkit-transition: transform .3s;
|
||||
transition: transform .3s;
|
||||
}
|
||||
.ls-toolbar-item--scrollup.active i {
|
||||
-webkit-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
*}
|
||||
|
||||
{component 'toolbar' template='item'
|
||||
classes='toolbar-item--scrollup js-toolbar-scrollup'
|
||||
classes='ls-toolbar-item--scrollup js-toolbar-scrollup'
|
||||
attributes=[ 'style' => 'display: none' ]
|
||||
buttons=[[
|
||||
'icon' => 'chevron-up',
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
{* Блок с тегами избранного *}
|
||||
{if $oUserCurrent && $oUserCurrent->getId() == $oUserProfile->getId()}
|
||||
{insert name='block' block='tagsFavouriteTopic' params=[
|
||||
{insert name='block' block='tagsPersonalTopic' params=[
|
||||
'user' => $oUserProfile,
|
||||
'activeTag' => $activeFavouriteTag
|
||||
]}
|
||||
|
|
Loading…
Reference in a new issue