fixed multiple stuff
This commit is contained in:
@@ -165,7 +165,7 @@ $pagination_entity_name = "Zustimmungserklärungen";
|
||||
<button type="submit" class="btn btn-primary"><i class="far fa-search fa-fw"></i> Filter anwenden</button>
|
||||
<a class="btn btn-secondary" href="<?=self::getUrl("ConstructionConsent", "", ["resetFilter" => 1, "filter" => ["project_id" => (is_array($filter) && array_key_exists("project_id", $filter) ? $filter["project_id"] : "")]])?>"><i class="far fa-xmark fa-fw"></i> Filter zurücksetzen</a>
|
||||
<input type="file" id="csvFileInput" accept=".csv" class="d-none">
|
||||
<?php if ($me->isAdmin() && is_array($filter) && array_key_exists("project_id", $filter) && !empty($filter["project_id"])): ?>
|
||||
<?php if (is_array($filter) && array_key_exists("project_id", $filter) && !empty($filter["project_id"])): ?>
|
||||
<label style="margin-bottom: 0; cursor: pointer" for="csvFileInput" class="btn btn-info"><i class="fas fa-upload fa-fw"></i> Eigentümer-CSV Import</label>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -375,7 +375,9 @@ $pagination_entity_name = "Adressen";
|
||||
|
||||
<div>
|
||||
<?php if(is_array($owner->files) && count($owner->files)): foreach($owner->files as $file): ?>
|
||||
<a href="<?=self::getUrl("File", "download", ["id" => $file->file_id])?>"><i class="far fa-fw fa-file"></i> <?=$file->filename?></a><br />
|
||||
<a href="<?=self::getUrl("File", "download", ["id" => $file->file_id])?>"><i class="far fa-fw fa-file"></i> <?=$file->filename?></a>
|
||||
<a class="text-danger" href="<?=self::getUrl("ConstructionConsentOwner", "deleteFile", ["id" => $file->id])?>" onclick="if(!confirm('Datei wirklich löschen?')) return false;" title="Datei Löschen"><i class="far fa-fw fa-trash-alt"></i></a>
|
||||
<br />
|
||||
<?php endforeach; endif; ?>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user