add: move upload server to buckets
This commit is contained in:
parent
8116307ba0
commit
75fe720f21
83 changed files with 351 additions and 458 deletions
|
@ -665,12 +665,12 @@
|
|||
(span
|
||||
("class" "date")
|
||||
(text "{{ upload.created }}"))
|
||||
(text " ({{ upload.what }})")))
|
||||
(text " ({{ upload.metadata.what }})")))
|
||||
(div
|
||||
("class" "flex gap_2")
|
||||
(button
|
||||
("class" "raised small")
|
||||
("onclick" "trigger('ui::lightbox_open', ['/api/v1/uploads/{{ upload.id }}'])")
|
||||
("onclick" "trigger('ui::lightbox_open', ['{{ config.service_hosts.buckets }}/{{ upload.bucket }}/{{ upload.id }}'])")
|
||||
(text "{{ icon \"view\" }}")
|
||||
(span
|
||||
(text "{{ text \"general:action.view\" }}")))
|
||||
|
@ -694,7 +694,7 @@
|
|||
("name" "alt")
|
||||
("class" "w_full")
|
||||
("placeholder" "Alternative text")
|
||||
(text "{{ upload.alt|safe }}")))
|
||||
(text "{{ upload.metadata.alt|safe }}")))
|
||||
|
||||
(button
|
||||
(icon (text "check"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue