1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-15 23:38:18 +03:00

alert empty -> blankslate

This commit is contained in:
Denis Shakhov 2015-04-08 18:41:06 +07:00
parent 134f39ffbb
commit 2e56a973db
17 changed files with 17 additions and 18 deletions

View file

@ -536,7 +536,7 @@ $config['components'] = array(
// Базовые компоненты
'css-reset', 'css-helpers', 'typography', 'forms', 'grid', 'ls-vendor', 'ls-core', 'ls-component', 'lightbox', 'slider', 'details', 'alert', 'dropdown', 'button', 'block',
'nav', 'tooltip', 'tabs', 'modal', 'table', 'text', 'uploader', 'email', 'field', 'pagination', 'editor', 'more', 'crop',
'performance', 'toolbar', 'actionbar', 'badge', 'autocomplete', 'icon', 'item', 'highlighter', 'jumbotron', 'notification',
'performance', 'toolbar', 'actionbar', 'badge', 'autocomplete', 'icon', 'item', 'highlighter', 'jumbotron', 'notification', 'blankslate',
// Компоненты LS CMS
'favourite', 'vote', 'media', 'property', 'photo', 'note', 'icons-contact', 'user-list-add', 'subscribe', 'content', 'report', 'comment',

View file

@ -34,6 +34,6 @@
]}
{/if}
{else}
{component 'alert' text=$aLang.common.empty mods='empty'}
{component 'blankslate' text=$aLang.common.empty}
{/if}
</div>

View file

@ -14,7 +14,7 @@
date = $comment->getDate()
topicUrl = ( Config::Get('module.comment.use_nested') ) ? {router 'comments'} : "{$topic->getUrl()}#comment{$comment->getId()}"}
{foreachelse}
{component 'alert' mods='empty' text={lang 'common.empty'}}
{component 'blankslate' text={lang 'common.empty'} mods='no-background'}
{/foreach}
{/capture}

View file

@ -12,7 +12,7 @@
date = $topic->getDatePublish()
topicUrl = $topic->getUrl()}
{foreachelse}
{component 'alert' mods='empty' text={lang 'common.empty'}}
{component 'blankslate' text={lang 'common.empty'} mods='no-background'}
{/foreach}
{/capture}

View file

@ -49,5 +49,5 @@
{component 'pagination' total=+$paging.iCountPage current=+$paging.iCurrentPage url="{$paging.sBaseUrl}/page__page__/{$paging.sGetParams}"}
{else}
{component 'alert' text=$aLang.blog.admin.alerts.empty mods='empty'}
{component 'blankslate' text=$aLang.blog.admin.alerts.empty}
{/if}

View file

@ -34,7 +34,7 @@
mods = 'stacked pills'
items = $items}
{else}
{component 'alert' text=$aLang.blog.categories.empty mods='empty'}
{component 'blankslate' text=$aLang.blog.categories.empty}
{/if}
<br>

View file

@ -38,5 +38,5 @@
{component 'pagination' total=+$paging.iCountPage current=+$paging.iCurrentPage url="{$paging.sBaseUrl}/page__page__/{$paging.sGetParams}"}
{/if}
{else}
{component 'alert' text=(($smarty.local.textEmpty) ? $smarty.local.textEmpty : $aLang.blog.alerts.empty) mods='empty'}
{component 'blankslate' text=(($smarty.local.textEmpty) ? $smarty.local.textEmpty : $aLang.blog.alerts.empty)}
{/if}

View file

@ -55,5 +55,5 @@
{/section}
{/if}
{foreachelse}
{component 'alert' mods='empty' classes='js-comments-empty' text=$aLang.common.empty}
{component 'blankslate' classes='js-comments-empty' text=$aLang.common.empty}
{/foreach}

View file

@ -125,7 +125,7 @@
</table>
</form>
{else}
{component 'alert' text=$aLang.talk.notices.empty mods='empty'}
{component 'blankslate' text=$aLang.talk.notices.empty}
{/if}
{component 'pagination' total=+$paging.iCountPage current=+$paging.iCurrentPage url="{$paging.sBaseUrl}/page__page__/{$paging.sGetParams}"}

View file

@ -17,5 +17,5 @@
{component 'pagination' total=+$paging.iCountPage current=+$paging.iCurrentPage url="{$paging.sBaseUrl}/page__page__/{$paging.sGetParams}" classes='js-pagination-topics'}
{else}
{component 'alert' text=$aLang.common.empty mods='empty'}
{component 'blankslate' text=$aLang.common.empty}
{/if}

View file

@ -107,7 +107,7 @@
{foreach $contacts as $contact}
{call userfield field=$contact}
{foreachelse}
{component 'alert' mods='empty' classes='js-user-fields-empty' text=$aLang.common.empty}
{component 'blankslate' classes='js-user-fields-empty' text=$aLang.common.empty}
{/foreach}
</div>

View file

@ -22,7 +22,7 @@
{/foreach}
</ul>
{else}
{component 'alert' text=$emptyText mods='empty'}
{component 'blankslate' text=$emptyText}
{/if}
{component 'pagination' total=+$pagination.iCountPage current=+$pagination.iCurrentPage url="{$pagination.sBaseUrl}/page__page__/"}

View file

@ -21,9 +21,8 @@
{* Уведомление о пустом списке *}
{if ! $users || $smarty.local.hideableEmptyAlert}
{component 'alert'
{component 'blankslate'
text = $aLang.common.empty
mods = 'empty'
classes = 'js-user-list-small-empty'
visible = ! $users}
{/if}

View file

@ -36,5 +36,5 @@
{component 'pagination' total=+$pagination.iCountPage current=+$pagination.iCurrentPage url="{$pagination.sBaseUrl}/page__page__/"}
{/if}
{else}
{component 'alert' text=$smarty.local.textEmpty|default:{lang name='user.notices.empty'} mods='empty'}
{component 'blankslate' text=$smarty.local.textEmpty|default:{lang name='user.notices.empty'}}
{/if}

View file

@ -31,7 +31,7 @@
{* Уведомление о пустом списке *}
{if $oUserCurrent || ( ! $oUserCurrent && ! $loadedCount )}
{component 'alert' text=$aLang.common.empty mods='empty' classes='mt-15 js-wall-alert-empty' attributes=[ 'id' => 'wall-empty' ] visible=!$loadedCount}
{component 'blankslate' text=$aLang.common.empty classes='mt-15 js-wall-alert-empty' attributes=[ 'id' => 'wall-empty' ] visible=!$loadedCount}
{/if}
{* Кнопка подгрузки записей *}

View file

@ -27,6 +27,6 @@
{hook run='search_result' type=$searchType}
{/if}
{elseif $_aRequest.q}
{component 'alert' text=$aLang.search.alerts.empty mods='empty'}
{component 'blankslate' text=$aLang.search.alerts.empty}
{/if}
{/block}

@ -1 +1 @@
Subproject commit aca4ebe7c0e9268dd415595ce15c604edd2558c5
Subproject commit f32fff1fcc8d6a17e211242bd88c544664678445