1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +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', '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', '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 // Компоненты LS CMS
'favourite', 'vote', 'media', 'property', 'photo', 'note', 'icons-contact', 'user-list-add', 'subscribe', 'content', 'report', 'comment', 'favourite', 'vote', 'media', 'property', 'photo', 'note', 'icons-contact', 'user-list-add', 'subscribe', 'content', 'report', 'comment',

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -38,5 +38,5 @@
{component 'pagination' total=+$paging.iCountPage current=+$paging.iCurrentPage url="{$paging.sBaseUrl}/page__page__/{$paging.sGetParams}"} {component 'pagination' total=+$paging.iCountPage current=+$paging.iCurrentPage url="{$paging.sBaseUrl}/page__page__/{$paging.sGetParams}"}
{/if} {/if}
{else} {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} {/if}

View file

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

View file

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

View file

@ -107,7 +107,7 @@
{foreach $contacts as $contact} {foreach $contacts as $contact}
{call userfield field=$contact} {call userfield field=$contact}
{foreachelse} {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} {/foreach}
</div> </div>

View file

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

View file

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

View file

@ -36,5 +36,5 @@
{component 'pagination' total=+$pagination.iCountPage current=+$pagination.iCurrentPage url="{$pagination.sBaseUrl}/page__page__/"} {component 'pagination' total=+$pagination.iCountPage current=+$pagination.iCurrentPage url="{$pagination.sBaseUrl}/page__page__/"}
{/if} {/if}
{else} {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} {/if}

View file

@ -31,7 +31,7 @@
{* Уведомление о пустом списке *} {* Уведомление о пустом списке *}
{if $oUserCurrent || ( ! $oUserCurrent && ! $loadedCount )} {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} {/if}
{* Кнопка подгрузки записей *} {* Кнопка подгрузки записей *}

View file

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

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