mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix update model
This commit is contained in:
@@ -98,7 +98,8 @@ $fileLimitHuman = $this->getParam('fileLimitHuman', 0);
|
||||
<img src="" data-ls-attrs="src={{env.ENDPOINT}}/v1/storage/buckets/{{router.params.id}}/files/{{file.$id}}/preview?width=65&height=65&project={{router.params.project}}&mode=admin" class="pull-start avatar" width="30" height="30" loading="lazy" />
|
||||
</td>
|
||||
<td data-title="Name: " class="text-one-liner" data-ls-attrs="title={{file.name}}" >
|
||||
<div data-ui-modal class="box modal sticky-footer width-large close" data-button-text="{{file.name}}" data-button-class="link" data-button-element="span">
|
||||
<div data-ls-ui-trigger="modal-file-update-{{file.$id}}" class="link" data-ls-bind="{{file.name}}"></div>
|
||||
<div data-ls-attrs="data-open-event=modal-file-update-{{file.$id}}" data-button-hide="1" data-ui-modal class="box modal sticky-footer width-large close" >
|
||||
<button type="button" class="close pull-end" data-ui-modal-close=""><i class="icon-cancel"></i></button>
|
||||
|
||||
<h1>Update File</h1>
|
||||
@@ -208,7 +209,8 @@ $fileLimitHuman = $this->getParam('fileLimitHuman', 0);
|
||||
<div class="drop-list pull-end" data-ls-ui-open="" data-button-aria="File Options" data-button-class="icon-dot-3" data-blur="1">
|
||||
<ul class="arrow-center">
|
||||
<li>
|
||||
<a href="">Update</a>
|
||||
<span data-ls-ui-trigger="modal-file-update-{{file.$id}}" class="link">Update</span>
|
||||
<!-- <span data-ls-attrs="class=file-update-{{file.$id}} link">Update</span> -->
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:void(0)" data-ls-ui-trigger="file-delete-{{file.$id}}">Delete</a>
|
||||
|
||||
Reference in New Issue
Block a user