Skip to content

Commit

Permalink
feat: adding exclusivity end date when paywall is set to delayed release
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgobich committed May 1, 2024
1 parent 2c7828a commit 717725c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/views/studio/posts/index.edge
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@
@if (scope.row.paywallTypeId === 1)
Not Paywalled
@elseif (scope.row.paywallTypeId === 2)
Delayed Release
<div>
Delayed Release
</div>
<div class="text-xs text-gray-800">
Exclusive Til: {{ scope.row.publishAt.plus({ days: 14 }).toFormat('MMM dd, yy') }}
</div>
@elseif (scope.row.paywallTypeId === 3)
Full Paywall
@endif
Expand Down

0 comments on commit 717725c

Please sign in to comment.