Skip to content

Commit

Permalink
[WIP] Add galaxy-upload link to UploadModal
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Oct 24, 2024
1 parent e6d1b30 commit 3d6579b
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions client/src/components/Upload/UploadModal.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script setup>
import { BModal } from "bootstrap-vue";
import { storeToRefs } from "pinia";
import { ref, watch } from "vue";
Expand Down Expand Up @@ -71,7 +72,7 @@ defineExpose({
</script>
<template>
<b-modal
<BModal
v-model="showModal"
:static="options.modalStatic"
header-class="no-separator"
Expand All @@ -81,12 +82,17 @@ defineExpose({
no-enforce-focus
hide-footer>
<template v-slot:modal-header>
<h2 class="title h-sm" tabindex="0">
{{ options.title }}
<span v-if="currentHistory">
to <b>{{ currentHistory.name }}</b>
</span>
</h2>
<div class="d-flex justify-content-between w-100">
<h2 class="title h-sm" tabindex="0">
{{ options.title }}
<span v-if="currentHistory">
to <b>{{ currentHistory.name }}</b>
</span>
</h2>
<a href="https://galaxy-upload.readthedocs.io/en/latest/" target="_blank">
Check out the <code>galaxy-upload</code> util here!
</a>
</div>
</template>
<UploadContainer
v-if="currentHistoryId"
Expand All @@ -95,7 +101,7 @@ defineExpose({
:current-history-id="currentHistoryId"
v-bind="options"
@dismiss="dismiss" />
</b-modal>
</BModal>
</template>
<style>
Expand Down

0 comments on commit 3d6579b

Please sign in to comment.