Merge branch 'master' into master

This commit is contained in:
玖亖伍
2022-05-09 18:19:08 +08:00
committed by GitHub
17 changed files with 366 additions and 88 deletions

View File

@@ -96,6 +96,23 @@
</label>
</div>
</div>
<div class="form-group">
<label>评论</label>
<div class="radio">
<label class="radio-inline">
<input type="radio"{{if eq .Model.CommentStatus "closed"}} checked{{end}} name="comment_status" value="closed"> 关闭评论
</label>
<label class="radio-inline">
<input type="radio"{{if eq .Model.CommentStatus "open"}} checked{{end}} name="comment_status" value="open"> 开启评论
</label>
<!--label class="radio-inline">
<input type="radio"{{if eq .Model.CommentStatus "registered_only"}} checked{{end}} name="comment_status" value="registered_only"> 注册用户可见
</label>
<label class="radio-inline">
<input type="radio"{{if eq .Model.CommentStatus "group_only"}} checked{{end}} name="comment_status" value="group_only"> 成员可见
</label-->
</div>
</div>
{{if eq .Model.PrivatelyOwned 1}}
<div class="form-group">
<label>{{i18n $.Lang "blog.access_pass"}}</label>