mirror of
https://github.com/ceratic/MediaCollectorLibary.git
synced 2026-05-13 23:56:46 +02:00
actor merging!
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
<p class="text-muted mb-0">View and manage actors, find and merge duplicates</p>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a href="{{ path_for('admin.actors.index') }}" class="btn btn-outline-primary {% if not filters.duplicates %}active{% endif %}">
|
||||
<a href="{{ path_for('admin.actors') }}" class="btn btn-outline-primary {% if not filters.duplicates %}active{% endif %}">
|
||||
<i class="bi bi-people me-2"></i>All Actors
|
||||
</a>
|
||||
<a href="{{ path_for('admin.actors.index', {}, {'duplicates': 1}) }}" class="btn btn-outline-warning {% if filters.duplicates %}active{% endif %}">
|
||||
<a href="{{ path_for('admin.actors', {}, {'duplicates': 1}) }}" class="btn btn-outline-warning {% if filters.duplicates %}active{% endif %}">
|
||||
<i class="bi bi-exclamation-triangle me-2"></i>Duplicates
|
||||
</a>
|
||||
</div>
|
||||
@@ -61,7 +61,7 @@
|
||||
data-group="{{ group.normalized_name }}">
|
||||
</div>
|
||||
{% if actor.thumbnail_path %}
|
||||
<img src="/images/{{ actor.thumbnail_path }}"
|
||||
<img src="{{ actor.thumbnail_path }}"
|
||||
alt="{{ actor.name }}"
|
||||
class="rounded me-3"
|
||||
style="width: 40px; height: 40px; object-fit: cover;">
|
||||
@@ -268,7 +268,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
{% if actor.thumbnail_path %}
|
||||
<img src="/images/{{ actor.thumbnail_path }}" alt="{{ actor.name }}" style="width: 50px; height: 50px; object-fit: cover; border-radius: 50%;">
|
||||
<img src="{{ actor.thumbnail_path }}" alt="{{ actor.name }}" style="width: 50px; height: 50px; object-fit: cover; border-radius: 50%;">
|
||||
{% else %}
|
||||
<div class="bg-light d-flex align-items-center justify-content-center rounded-circle" style="width: 50px; height: 50px;">
|
||||
<i class="bi bi-person text-muted"></i>
|
||||
@@ -442,7 +442,7 @@ function autoMergeGroup(groupName) {
|
||||
return;
|
||||
}
|
||||
|
||||
fetch('{{ path_for("admin.actors.auto_merge") }}', {
|
||||
fetch('{{ path_for("admin.actors.auto-merge") }}', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
@@ -484,7 +484,7 @@ function autoMergeAll() {
|
||||
return;
|
||||
}
|
||||
|
||||
fetch('{{ path_for("admin.actors.auto_merge") }}', {
|
||||
fetch('{{ path_for("admin.actors.auto-merge") }}', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user