fixup! improve image manager

This commit is contained in:
Milan
2020-10-17 21:42:54 +02:00
parent 33c2c40895
commit 7fc6385bd1
3 changed files with 7 additions and 1 deletions

View File

@@ -94,6 +94,9 @@ msgstr "Dieses Bild für Studio nutzen"
msgid "label_assign_to_project"
msgstr "Dieses Bild für Projekt nutzen"
msgid "label_assign_to_projects"
msgstr "Dieses Bild für Projekt nutzen"
msgid "label_warn_not_public_event"
msgstr "Bild muss veröffentlicht werden, um es in Sendebeschreibung zu nutzen."

View File

@@ -95,6 +95,9 @@ msgstr "use image for studio"
msgid "label_assign_to_project"
msgstr "use image for project"
msgid "label_assign_to_projects"
msgstr "use image for project"
msgid "label_warn_not_public_event"
msgstr "image must has been published before assigning to event"

View File

@@ -73,7 +73,7 @@
<td>
<button
class="selectImage"
onclick="selectImage('<TMPL_VAR name escape=HTML>', '<TMPL_VAR image ESCAPE=url>', 'studios', '<TMPL_VAR .project_id>','<TMPL_VAR .studio_id>'); return false;"
onclick="selectImage('<TMPL_VAR name escape=HTML>', '<TMPL_VAR image ESCAPE=url>', 'studio', '<TMPL_VAR .project_id>','<TMPL_VAR .studio_id>'); return false;"
>
<img id="imagePreview" src="show-image.cgi?project_id=<TMPL_VAR .project_id>&studio_id=<TMPL_VAR .studio_id>&filename=<TMPL_VAR image>&type=icon">
</button>