From: Dan Allen Date: Tue, 29 Oct 2019 02:04:00 +0000 (-0600) Subject: use fileUri for edit page link if available X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=df8a0f7dc43f0499b7fcf042572216eea633c584;p=eg-antora.git use fileUri for edit page link if available --- diff --git a/src/partials/toolbar.hbs b/src/partials/toolbar.hbs index 251a51a..a285681 100644 --- a/src/partials/toolbar.hbs +++ b/src/partials/toolbar.hbs @@ -5,7 +5,7 @@ {{/if}} {{> breadcrumbs}} {{> page-versions}} - {{#if (and page.editUrl (not page.origin.private))}} -
Edit this Page
+ {{#if (or page.fileUri (and page.editUrl (not page.origin.private)))}} +
Edit this Page
{{/if}}