Comm
This commit is contained in:
parent
ef068d1a99
commit
c46fc83db1
|
|
@ -151,12 +151,12 @@
|
||||||
</div>
|
</div>
|
||||||
Verlinkte Dateien:
|
Verlinkte Dateien:
|
||||||
<table id="linked_files" class="table table-hover table-sm">
|
<table id="linked_files" class="table table-hover table-sm">
|
||||||
<!-- TODO: Hier die NCFile-Daten abfragen -->
|
<!-- TODO: JAVASCRIPT FUNKTIONEN NOCH ANPASSEN -->
|
||||||
{% if update == True %}
|
{% if update == True %}
|
||||||
{% for f in standard.addedfiles_nc.all %}
|
{% for f in standard.addedfiles_nc.all %}
|
||||||
<!--<tr id="added_files_{{f.pk}}"><td>{{f.name}}</td><td><button type="button" class="btn btn-danger btn-sm" style="float: right;" onclick="javascript:remEle('files',{{f.pk}}, '{{f.name}}')"><i class="fas fa-trash"></i></button></td></tr>-->
|
<!--<tr id="added_files_{{f.pk}}"><td>{{f.name}}</td><td><button type="button" class="btn btn-danger btn-sm" style="float: right;" onclick="javascript:remEle('files',{{f.pk}}, '{{f.name}}')"><i class="fas fa-trash"></i></button></td></tr>-->
|
||||||
{% getNCFileInfos request f.nc_id as filename %}
|
{% getNCFileInfos request f.nc_id as filename %}
|
||||||
{{filename}}
|
<tr id="added_files_{{f.pk}}"><td>{{filename}}</td><td><button type="button" class="btn btn-danger btn-sm" style="float: right;" onclick="javascript:remEle('files',{{f.pk}}, '{{filename}}')"><i class="fas fa-trash"></i></button></td></tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</table>
|
</table>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue