Skip to content

Commit

Permalink
workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Peter Voigt committed Aug 26, 2024
1 parent 645e5b4 commit d038360
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/AnnotTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
</Transition>
<MainStage class="mainStage stageItem">
<template v-if="annotatedTranscriptForCurrentWz !== null">
<a :href="currentAnnotTabMEIFriendURL" :title="currentAnnotTabFileName" class="btn" target="_blank" v-if="currentAnnotTabFileName">edit AT</a>
<VerovioComponent purpose="proofreading" type="annotTrans" getter="annotatedTranscriptForCurrentWz" pathGetter="currentWzAtPath"/>
</template>
<template v-else-if="activeWritingZone === null">
Expand Down Expand Up @@ -154,6 +155,13 @@ export default {
currentAnnotTabFileName () {
return this.$store.getters.currentWzAtPath
},
currentAnnotTabMEIFriendURL () {
// https://mei-friend.mdw.ac.at/?file=https://raw.githubusercontent.com/BeethovensWerkstatt/data/dev/data/sources/D-BNba_MH_60_Engelmann/annotatedTranscripts/D-BNba_MH_60_Engelmann_p005_wz01_at.xml&scale=55&breaks=auto&page=1&speed=true&notationOrientation=bottom&notationProportion=0.50
if (this.currentAnnotTabFileName) {
return `https://mei-friend.mdw.ac.at/?file=https://raw.githubusercontent.com/BeethovensWerkstatt/data/dev/${this.currentAnnotTabFileName}`
}
return ''
},
annotatedTranscriptForCurrentWz () {
return this.$store.getters.annotatedTranscriptForCurrentWz
},
Expand Down

0 comments on commit d038360

Please sign in to comment.