|
@@ -15,7 +15,7 @@
|
|
|
<h4 class="card-title"> {{ comment.title }} </h4>
|
|
|
{% endif %}
|
|
|
<p class="card-text"> {{ comment.content }} </p>
|
|
|
- <span class="badge bg-info"> {{ comment.auth.email }} </span>
|
|
|
+ <a class="badge bg-info text-white" href="{{ url_for("auth.user_page", user=comment.auth.id) }}"> {{ comment.auth.email }} </a>
|
|
|
<p class="text-end">
|
|
|
{% if comment.father_id %}
|
|
|
<a class="btn btn-link" href="{{ url_for("comment.comment_page", comment_id=comment.father_id) }}"> 查看父讨论 </a>
|
|
@@ -35,7 +35,7 @@
|
|
|
<h4 class="card-title"> {{ i.title }} </h4>
|
|
|
{% endif %}
|
|
|
<p class="card-text"> {{ i.content }} </p>
|
|
|
- <span class="badge bg-info"> {{ i.auth.email }} </span>
|
|
|
+ <a class="badge bg-info text-white" href="{{ url_for("auth.user_page", user=i.auth.id) }}"> {{ i.auth.email }} </a>
|
|
|
|
|
|
<p class="text-end">
|
|
|
<a class="btn btn-link" href="{{ url_for("comment.comment_page", comment_id=i.id) }}"> 前往查看 </a>
|