mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
알림목록 기본 안읽은것만 표시 + 전체표시 탭기능
This commit is contained in:
parent
504cf632b3
commit
e0f83ed995
2 changed files with 9 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class NcenterliteView extends Ncenterlite
|
|||
}
|
||||
|
||||
$oNcenterliteModel = ncenterliteModel::getInstance();
|
||||
$output = $oNcenterliteModel->getMyNotifyList($this->user->member_srl, 1, null, true);
|
||||
$output = $oNcenterliteModel->getMyNotifyList($this->user->member_srl, 1, (Context::get('readed') != 'Y' ? 'N' : 'Y'), true);
|
||||
|
||||
Context::set('total_count', $output->page_navigation->total_count);
|
||||
Context::set('total_page', $output->page_navigation->total_page);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,12 @@
|
|||
<include target="../../../member/skins/default/common_header.html" />
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"|cond="!$readed || $readed == 'N'">
|
||||
<a href="{getUrl('readed', '')}">안읽은 알림</a>
|
||||
</li>
|
||||
<li class="active"|cond="$readed == 'Y'">
|
||||
<a href="{getUrl('readed', 'Y')}">전체 알림</a>
|
||||
</li>
|
||||
</ul>
|
||||
<table class="table table-striped table-hover" style="margin-top:20px;">
|
||||
<thead class="bg_f_f9">
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue