-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1779 from danskernesdigitalebibliotek/DDFBRA-183-…
…anonymous-and-logged-in-user-can-try-ebook DDFBRA-183 - Anonymous and logged in user can try ebook + audiobook
- Loading branch information
Showing
6 changed files
with
106 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
web/themes/custom/novel/templates/layout/page--reader.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{# | ||
/** | ||
* @file | ||
* Theme override to display a /reader page. | ||
* | ||
* This template is a variant of the page.html.twig template used for rendering | ||
* the user registration page. As we don't want the user accessing things outside | ||
* of the registration form, we have removed the header and footer regions for this | ||
* page. | ||
* | ||
* Available variables: | ||
* | ||
* General utility variables: | ||
* - base_path: The base URL path of the Drupal installation. Will usually be | ||
* "/" unless you have installed Drupal in a sub-directory. | ||
* - is_front: A flag indicating if the current page is the front page. | ||
* - logged_in: A flag indicating if the user is registered and signed in. | ||
* - is_admin: A flag indicating if the user has permission to access | ||
* administration pages. | ||
* | ||
*/ | ||
#} | ||
|
||
<main id="main-content" role="main"> | ||
{{ page.content }} | ||
</main> |