feat(报告页面): 添加发言人信息显示
在报告页面的阅读、见解和计划表格中添加发言人列,显示相关内容的发言人姓名
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>发言人</th>
|
||||
<th>类型</th>
|
||||
<th>标题</th>
|
||||
<th>来源</th>
|
||||
@@ -52,6 +53,7 @@
|
||||
<tbody>
|
||||
{% for reading in yesterday_reading %}
|
||||
<tr>
|
||||
<td><span class="badge bg-secondary">{{ reading.speaker.name }}</span></td>
|
||||
<td>{{ reading.get_type_display }}</td>
|
||||
<td>{{ reading.title }}</td>
|
||||
<td>{{ reading.source|default:"-" }}</td>
|
||||
@@ -77,7 +79,12 @@
|
||||
{% if yesterday_insight %}
|
||||
<ul class="list-group">
|
||||
{% for insight in yesterday_insight %}
|
||||
<li class="list-group-item">{{ insight.content }}</li>
|
||||
<li class="list-group-item d-flex justify-content-between align-items-start">
|
||||
<div class="ms-2 me-auto">
|
||||
<div class="fw-bold text-primary mb-1">{{ insight.speaker.name }}</div>
|
||||
{{ insight.content }}
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
@@ -97,6 +104,7 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>发言人</th>
|
||||
<th>类型</th>
|
||||
<th>内容</th>
|
||||
<th>优先级</th>
|
||||
@@ -106,6 +114,7 @@
|
||||
<tbody>
|
||||
{% for plan in today_plan %}
|
||||
<tr>
|
||||
<td><span class="badge bg-secondary">{{ plan.speaker.name }}</span></td>
|
||||
<td>{{ plan.get_type_display }}</td>
|
||||
<td>{{ plan.content }}</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user