Comm
This commit is contained in:
parent
ef068d1a99
commit
c46fc83db1
|
|
@ -151,12 +151,12 @@
|
|||
</div>
|
||||
Verlinkte Dateien:
|
||||
<table id="linked_files" class="table table-hover table-sm">
|
||||
<!-- TODO: Hier die NCFile-Daten abfragen -->
|
||||
<!-- TODO: JAVASCRIPT FUNKTIONEN NOCH ANPASSEN -->
|
||||
{% if update == True %}
|
||||
{% 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>-->
|
||||
{% 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 %}
|
||||
{% endif %}
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Reference in New Issue