diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 86c0e05b..8f256c48 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -72,7 +72,8 @@ todo: attachment - rename a file or add notes after already uploaded todo: attachment EVENTLOG user download file, maybe it's event on object attached to but textra says file name todo: History icon for attachments, make them all paperclips? - Maybe red paperclip for delete, green paperclip for attach?? - +todo: clean up recently added translation keys, some are not being used and were added willy nilly + - "File" I think might be one https://medium.com/js-dojo/upload-files-to-cloudinary-using-vue-vuetify-dd45472c4fd6 1578595824571 diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index a5c3035d..28637abd 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -173,7 +173,8 @@ export default { "ImageDescription", "AttachFile", "AttachmentNotes", - "Upload" + "Upload", + "AttachmentFileName" ], //////////////////////////////////////////////////////// diff --git a/ayanova/src/components/attachment-control.vue b/ayanova/src/components/attachment-control.vue index 82e016a4..e83e5456 100644 --- a/ayanova/src/components/attachment-control.vue +++ b/ayanova/src/components/attachment-control.vue @@ -3,6 +3,7 @@ {{ $ay.t("Attachments") }} + fa-folder @@ -61,6 +62,36 @@ + + + {{ $ay.t("FileAttachment") }} +
+ + +
+ + + {{ $ay.t("Cancel") }} + {{ + $ay.t("OK") + }} + +
+