mirror of
https://github.com/krateng/maloja.git
synced 2025-07-09 03:04:07 -04:00
Inline edit functionality now also for merging
This commit is contained in:
parent
d8420cdb67
commit
920e7efd7f
@ -33,7 +33,7 @@
|
|||||||
<table class='list'>
|
<table class='list'>
|
||||||
{% for e in charts %}
|
{% for e in charts %}
|
||||||
{% if loop.index0 >= firstindex and loop.index0 < lastindex %}
|
{% if loop.index0 >= firstindex and loop.index0 < lastindex %}
|
||||||
<tr class="listrow associateicons" data-entity_id="{{ e['album_id'] }}" data-entity_type="album" data-entity_name="{{ e['album'].albumtitle }}">
|
<tr class="listrow associateicons mergeicons" data-entity_id="{{ e['album_id'] }}" data-entity_type="album" data-entity_name="{{ e['album'].albumtitle }}">
|
||||||
<!-- Rank -->
|
<!-- Rank -->
|
||||||
<td class="rank">{%if loop.changed(e.scrobbles) %}#{{ e.rank }}{% endif %}</td>
|
<td class="rank">{%if loop.changed(e.scrobbles) %}#{{ e.rank }}{% endif %}</td>
|
||||||
<!-- Rank change -->
|
<!-- Rank change -->
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
<table class='list'>
|
<table class='list'>
|
||||||
{% for e in charts %}
|
{% for e in charts %}
|
||||||
{% if loop.index0 >= firstindex and loop.index0 < lastindex %}
|
{% if loop.index0 >= firstindex and loop.index0 < lastindex %}
|
||||||
<tr class="listrow associateicons" data-entity_id="{{ e['artist_id'] }}" data-entity_type="artist" data-entity_name="{{ e['artist'] }}">
|
<tr class="listrow associateicons mergeicons" data-entity_id="{{ e['artist_id'] }}" data-entity_type="artist" data-entity_name="{{ e['artist'] }}">
|
||||||
<!-- Rank -->
|
<!-- Rank -->
|
||||||
<td class="rank">{%if loop.changed(e.scrobbles) %}#{{ e.rank }}{% endif %}</td>
|
<td class="rank">{%if loop.changed(e.scrobbles) %}#{{ e.rank }}{% endif %}</td>
|
||||||
<!-- Rank change -->
|
<!-- Rank change -->
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<table class='list'>
|
<table class='list'>
|
||||||
{% for e in charts %}
|
{% for e in charts %}
|
||||||
{% if loop.index0 >= firstindex and loop.index0 < lastindex %}
|
{% if loop.index0 >= firstindex and loop.index0 < lastindex %}
|
||||||
<tr class="listrow associateicons" data-entity_id="{{ e['track_id'] }}" data-entity_type="track" data-entity_name="{{ e['track'].title }}">
|
<tr class="listrow associateicons mergeicons" data-entity_id="{{ e['track_id'] }}" data-entity_type="track" data-entity_name="{{ e['track'].title }}">
|
||||||
<!-- Rank -->
|
<!-- Rank -->
|
||||||
<td class="rank">{%if loop.changed(e.scrobbles) %}#{{ e.rank }}{% endif %}</td>
|
<td class="rank">{%if loop.changed(e.scrobbles) %}#{{ e.rank }}{% endif %}</td>
|
||||||
<!-- Rank change -->
|
<!-- Rank change -->
|
||||||
|
@ -37,6 +37,8 @@
|
|||||||
|
|
||||||
{% if adminmode and (entity is mapping) %}
|
{% if adminmode and (entity is mapping) %}
|
||||||
<td>
|
<td>
|
||||||
|
{% include 'icons/merge_mark.jinja' %}
|
||||||
|
{% include 'icons/merge_unmark.jinja' %}
|
||||||
{% include 'icons/association_mark.jinja' %}
|
{% include 'icons/association_mark.jinja' %}
|
||||||
{% include 'icons/association_unmark.jinja' %}
|
{% include 'icons/association_unmark.jinja' %}
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user