Skip to content

Commit

Permalink
Update edit-this-page.hbs
Browse files Browse the repository at this point in the history
undue edit changes, go a different direction
  • Loading branch information
jmcc0nn3ll authored May 31, 2024
1 parent 1040219 commit 6cc218b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/src/partials/edit-this-page.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{!#if (and page.fileUri (not env.CI))}}
{{!<div class="edit-this-page"><a href="{{page.fileUri}}">Edit this Page</a></div>}}
{{!else if (and page.editUrl (or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)))}}
{{if (and page.fileUri (not env.CI))}}
<div class="edit-this-page"><a href="{{page.fileUri}}">Edit this Page</a></div>
{{else if (and page.editUrl (or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)))}}
<div class="edit-this-page"><a href="{{page.editUrl}}">Edit this Page</a></div>
{{!/if}}
{{/if}}

0 comments on commit 6cc218b

Please sign in to comment.