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{}{
|
data := map[string]interface{}{
|
||||||
"UserID": idStr,
|
"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>
|
<h2>Historique des messages de l'utilisateur #{{ .UserID }}</h2>
|
||||||
|
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
@ -30,8 +30,7 @@
|
|||||||
hx-swap="innerHTML">
|
hx-swap="innerHTML">
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<h3>Conversation complète</h3>
|
<h3>Conversation complète</h3>
|
||||||
<div id="threadViewer" class="mt-3"></div>
|
<div id="threadViewer" class="mt-3"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@ -43,4 +43,4 @@
|
|||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
Loading…
Reference in New Issue
Block a user