This commit is contained in:
2025-07-10 22:42:04 +02:00
parent 1cc4db4943
commit ee8220f059
4 changed files with 69 additions and 58 deletions

View File

@ -192,8 +192,9 @@
<div class='filtreContainer'>
<label>Issue</label>
<input type="number" id="issueSearchInput" class="form-control" placeholder="Rechercher une issue" />
<label>Statut</label>
<a href="{{redmineUrl}}/projects/{{project.id}}/issues/new" target="_blank" class="btn btn-primary btn-sm"><i class="fas fa-file"></i> Nouvelle Demande</a>
<label style="margin-top:30px">Statut</label>
<select id="statusFilter" class="select2 form-select" multiple="true" tabindex="-1" aria-hidden="true">
{% for statut in project.redmine.issue_statuses %}
{% if statut.id not in project.hiddenstatuses %}
@ -381,9 +382,10 @@
});
// Scroll horizontal (retourne une promesse)
let paddingLeft = parseInt($('.scrumContainer').css('padding-left'), 315);
const scrollLeftPromise = new Promise(resolve => {
$('html, body').animate({
scrollLeft: $element.offset().left - 315
scrollLeft: $element.offset().left - paddingLeft
}, 500, resolve);
});
@ -530,7 +532,7 @@
localStorage.removeItem(viewedIssueKey);
$('.issueContainer').hide();
$('.scrumContainer').css('padding-left','0px');
$('.scrumContainer').css('padding-left','300px');
}
// Filtre sur les issues et backup des filtres en localstorage