Skip to content

Commit

Permalink
3rd challenge driven call added.
Browse files Browse the repository at this point in the history
  • Loading branch information
konradlang committed May 27, 2024
1 parent f0ea6cc commit b36226f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "molgenis-app-canserv-explorer",
"license": "LGPL-3.0",
"version": "1.3.8",
"version": "1.3.9",
"description": "Vue application for the CanSERV service explorer; A card detail view on BBMRI-ERIC service providers / service data. Based on molgenis-app-biobank-explorer version 7.20.0",
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
23 changes: 23 additions & 0 deletions src/components/popovers/NegotiatorSelection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,22 @@
</svg>
</button>
</div>
<div class="ml-auto">
<b-button
:disabled="
(isPodium && !collectionsInPodium.length) ||
!selectedCollections.length
"
class="btn btn-secondary ml-auto"
@click="sendRequest3rdChallengeCall">{{ negotiatorChallengeCall3ButtonText }}
</b-button>
<button type="button" class="btn btn-primary" @click="openInNewTab('https://www.canserv.eu/calls/challenge-call-revolutionising-cancer-care/')">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-info-square" viewBox="0 0 16 16">
<path d="M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"></path>
<path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"></path>
</svg>
</button>
</div>
</template>
</b-modal>
</template>
Expand Down Expand Up @@ -170,6 +186,10 @@ export default {
this.cartVisible = false
this.SendToARIAwithCID({ ARIAcid: 'canserv-2nd-challenge---driven-call' })
},
sendRequest3rdChallengeCall () {
this.cartVisible = false
this.SendToARIAwithCID({ ARIAcid: 'canserv-3rd-challenge-driven-call' })
},
sendRequest () {
this.cartVisible = false
this.SendToARIAwithCID({ ARIAcid: 257 })
Expand Down Expand Up @@ -218,6 +238,9 @@ export default {
negotiatorChallengeCallXButtonText () {
return this.isPodium ? this.uiText.send_to_podium : this.uiText.send_to_aria_challenge_call_x
},
negotiatorChallengeCall3ButtonText () {
return this.isPodium ? this.uiText.send_to_podium : this.uiText.send_to_aria_challenge_call_3
},
currentSelectedCollections () {
return this.isPodium ? this.collectionsInPodium : this.selectedCollections
},
Expand Down
1 change: 1 addition & 0 deletions src/config/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const i18n = {
send_to_aria: 'Start your proposal in ARIA',
send_to_aria_open_call: 'Apply through open call until 21st May',
send_to_aria_challenge_call_x: 'Apply through challenge-driven call: "Reaching an Understanding of Cancer"',
send_to_aria_challenge_call_3: 'Apply through challenge-driven call: "Revolutionising Cancer Patient Care"',
send_to_podium: 'Send to Podium',
card_biobank_details: 'View Service Provider',
card_collections_details: 'View Services',
Expand Down

0 comments on commit b36226f

Please sign in to comment.