-
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.
* next: Handle bad-token errors Update readme & changelog example: Move signin/change/signup part into footer Put back OAuth2 login Handle partial browser: Stop creating embedded function for notifyRendered Update gulp to 3.7.0 Improve conflict finder Preserve line numbers server: Put script tag at a better place browser: Remove unused parameter Use (again) EJS to template Fix url_to returned URLs Fix: Be sure to create directory before to write files Stop using jsdom
- Loading branch information
Showing
14 changed files
with
447 additions
and
215 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div><a href="[%= url_to('/index') %]">index</a></div> | ||
|
||
<p> | ||
[% if (loggedIn) { %] | ||
<select data-prismic-action="update"> | ||
[% _.each(refs, function (r) { %] | ||
[% if (r.ref == ref) { %] | ||
<option value="[%= r.ref %]" selected="selected">[%= r.label %]</option> | ||
[% } else { %] | ||
<option value="[%= r.ref %]">[%= r.label %]</option> | ||
[% } %] | ||
[% }) %] | ||
</select> | ||
<button data-prismic-action="signout">Sign out</button> | ||
[% } else { %] | ||
<button data-prismic-action="signin">Sign in</button> | ||
[% } %] | ||
</p> |
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
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
Oops, something went wrong.