Skip to content

Commit

Permalink
Hide publication subscription & add short info
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1m0n committed Jan 6, 2025
1 parent 2d18e02 commit a4b72fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/grid/tiles/publication-card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default {
subscriptionMessage(){
return this.isSubscribed
? `${this.$t('subscription.subscribed')} ${this.element.title}`
: this.$t('subscription.subtitle', {publicationName : this.element.title});
: `${this.element.title} vil bli gjort tilgjengelig gratis om ikke så lenge. Nærmere informasjon kommer snart.`;
},
coverImage(){
return `url(${this.element.coverImageUrl})`;
Expand Down
4 changes: 2 additions & 2 deletions src/components/subscriptions/not-subscribed/subscribe.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<section v-bind:class="['subscription-signup', {'open': showForm}, {'confirmed': showConfirmation}]">
<h4>{{$t("subscription.subscribe-to")}} {{book.title}}</h4>
<p class="small">{{$t("subscription.subtitle", {publicationName: book.title})}}</p>
<p class="small">{{book.title}} vil bli gjort tilgjengelig gratis om ikke så lenge. Nærmere informasjon kommer snart.</p>
<BookCover :cover-id="book.coverId"></BookCover>
<a v-if="showForm" class="button-circular minimize-button small" v-on:click="showForm = false"></a>
<SubscriptionForm v-if="showForm" :formData="subscriptionInfo" @subscribe="subscribe"/>
<Confirmation v-if="showConfirmation" :success="success"/>
<div class="signup-cta" v-if="!showForm && !showConfirmation">
<div class="signup-cta" v-if="!showForm && !showConfirmation" v-show="false">
<a class="button-main small" v-on:click="showFormOrGoToPublication">{{$t('subscription.subscribe-button')}}</a>
</div>
</section>
Expand Down

0 comments on commit a4b72fe

Please sign in to comment.