Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Jun 4, 2024
1 parent 528c741 commit 24cb372
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions src/template/default/member/feedback.tpl
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
{extend name="public:base" /}
{block name="body"}
<div class="container">
<div class="page-header"><h1>问题反馈</h1></div>
<ul class="list-group">
<div class="container">
<div class="page-header">
<h1>问题反馈</h1>
</div>
<ul class="list-group">
{foreach $feedbacks as $key => $v}
<li class="list-group-item">
<div>{$v.title} <span class="badge badge-secondary">{$v.create_time|showdate}</span></div>
<div>
{$v.content}
</div>
{if $v['reply_at'] > 1}
<div><span class="badge badge-primary">管理员回复</span>{$v.reply}</div>
{else/}
<span class="badge badge-danger">待回复</span>
{/if}
</li>
{/foreach}
{if $unreplyed < 1}
<li class="list-group-item">
<div>我 <span class="badge badge-secondary">{$v.create_time|showdate}</span></div>
<div>
{$v.content}
</div>
{if $v['reply_time'] > 1}
<div><span class="badge badge-primary">管理员回复</span>{$v.reply}</div>
{else/}
<span class="badge badge-danger">待回复</span>
{/if}
</li>
{/foreach}
{if $unreplyed < 1} <li class="list-group-item">
<form action="" method="post" class="form-horizontal container-fluid">
<div class="form-group">{$user.username}:</div>
<div class="form-group">
<textarea name="content" class="form-control" id="" cols="30" rows="5"></textarea>
</div>
<div class="form-group"><input type="submit" class="btn btn-primary" value="提交" /></div>
</form>
</li>
{/if}
</ul>
{$page|raw}
</div>
</li>
{/if}
</ul>
{$page|raw}
</div>
{/block}

0 comments on commit 24cb372

Please sign in to comment.