DDDD
This commit is contained in:
parent
325884af90
commit
845e8e7b57
@ -53,7 +53,7 @@ func AdminConversationPage(db *gorm.DB) http.HandlerFunc {
|
||||
data := map[string]interface{}{
|
||||
"UserID": idStr,
|
||||
}
|
||||
renderTemplate(w, "admin_conv", data)
|
||||
renderTemplate(w, "admin_conversations", data)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{{ define "admin_conv.pages.tmpl" }}
|
||||
{{ define "admin_conversations.pages.tmpl" }}
|
||||
<h2>Historique des messages de l'utilisateur #{{ .UserID }}</h2>
|
||||
|
||||
<div class="mb-3">
|
||||
@ -30,7 +30,6 @@
|
||||
hx-swap="innerHTML">
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<hr>
|
||||
<h3>Conversation complète</h3>
|
||||
<div id="threadViewer" class="mt-3"></div>
|
||||
Loading…
Reference in New Issue
Block a user