Skip to content

Commit

Permalink
Merge pull request #76 from nypublicradio/mwalsh/WNYC-45b
Browse files Browse the repository at this point in the history
Move transcript link to be after staff only edit button
  • Loading branch information
walsh9 authored Feb 7, 2024
2 parents dbcc2e6 + acd8fef commit 7e7f11e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addon/templates/components/story-tease.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@
</div>
{{/if}}

{{#if item.transcript}}
<a href="{{item.url}}?tab=transcript" class="story-tease__transcript-link">Read Transcript</a>
{{/if}}

{{#if isStaff}}
<a href="{{adminURL}}/{{item.editLink}}" class="story-tease__staff-btn" target="_blank" data-test-selector="admin-link">Edit this</a>
{{/if}}

{{#if item.transcript}}
<a href="{{item.url}}?tab=transcript" class="story-tease__transcript-link">Read Transcript</a>
{{/if}}
</div>
<!-- .btn-group -->

Expand Down

0 comments on commit 7e7f11e

Please sign in to comment.