增加阅读笔记
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="btn-group-vertical w-100">
|
||||
<a href="{% url 'yesterday_records' %}" class="btn btn-outline-primary mb-2">记录昨日信息</a>
|
||||
<a href="{% url 'yesterday_records' %}" class="btn btn-outline-primary mb-2">追加昨日信息</a>
|
||||
<a href="{% url 'today_plan' %}" class="btn btn-outline-primary mb-2">管理今日计划</a>
|
||||
<a href="{% url 'generate_report' %}" class="btn btn-outline-primary mb-2">查看今日报告</a>
|
||||
<a href="{% url 'send_email' %}" class="btn btn-outline-success">发送今日邮件</a>
|
||||
@@ -100,6 +100,9 @@
|
||||
{% if reading.progress %}
|
||||
<div class="mt-1"><small>进度:{{ reading.progress }}</small></div>
|
||||
{% endif %}
|
||||
{% if reading.note %}
|
||||
<div class="mt-1"><small>笔记:{{ reading.note|truncatechars:100 }}</small></div>
|
||||
{% endif %}
|
||||
{% if reading.file %}
|
||||
<div class="mt-1">
|
||||
<a href="{{ reading.file.url }}" class="file-link" target="_blank"><i class="bi bi-file-earmark"></i> 查看附件</a>
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
<th>标题</th>
|
||||
<th>来源</th>
|
||||
<th>进度</th>
|
||||
<th>笔记</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -35,6 +36,7 @@
|
||||
<td>{{ reading.title }}</td>
|
||||
<td>{{ reading.source|default:"-" }}</td>
|
||||
<td>{{ reading.progress|default:"-" }}</td>
|
||||
<td>{{ reading.note|truncatechars:50|default:"-" }}</td>
|
||||
<td>
|
||||
{% if reading.file %}
|
||||
<a href="{{ reading.file.url }}" class="btn btn-sm btn-info" title="查看附件" target="_blank">
|
||||
|
||||
Reference in New Issue
Block a user