This commit is contained in:
Holger Trampe 2020-06-08 21:06:18 +02:00
parent 418dd9c439
commit a19014d44b
2 changed files with 5 additions and 4 deletions

1
.cred Normal file
View File

@ -0,0 +1 @@
https://holger.trampe:Zerogoogle123_@git.vhevents.de/

View File

@ -20,7 +20,7 @@
<tr>
<td width="21%" id="{{actfcounter}}_{{forloop.counter}}_{{us.pk}}_firstcolum">
<img class="commentimg mr-2" src="{{ us.profile.get_photo_url }}">
{{us.get_full_name}}
<span class="us_fullname">{{us.get_full_name}}</span>
{% if user|usergperm:"absencemanager" %}
{% kontingent us as userkontingent %}
<span class="badge badge-primary badge-counter" style="float: right;" >{{userkontingent}}</span>
@ -654,10 +654,10 @@ $( function() {
if(selectedElements.length > 0){
$("#timetable_team tbody tr").each(function(i) {
// find the first td in the row
var value = $(this).find("td:first").text();
// display the value in console
var value = $(this).find("td:first").find("span:first");
// display the value in console
checkrow = parseInt(active_row)
if(i == (checkrow)){
if(i == (checkrow)){
$("#username_abscence").html(value);
$("#id_userid").val(selectedElements[0].split("_")[2])
}