Skip to content

Commit

Permalink
acknoledge major notice when trying beta
Browse files Browse the repository at this point in the history
  • Loading branch information
julsemaan committed May 5, 2024
1 parent f965a35 commit a87e7b6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions client/_major_notice_modal.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<script>
function newGoogleAuthBetaTry() {
application.controllers.editor.major_notice_pref.refreshAndSet(parseInt($('#major_notice_modal').attr('data-version')), application.controllers.editor, application.controllers.editor.show_reauth)
application.try_dev_mode();
}
</script>

<script class="template-partial" data-partial-name="major_notice_modal" type="text/x-handlebars">
<div class="modal fade" id="major_notice_modal" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="false" data-version="8">
<div class="modal-dialog">
Expand All @@ -6,8 +13,8 @@
<h4>New BETA version available for early adoption</h4>

<p>The new version includes a major improvement around Google Authentication to prevent the frequent "Authorize" prompts.</p>
<a href='javascript:void(0)' onclick='javascript:application.try_dev_mode()'>Click here to try out the BETA version!</a>

<a href='javascript:void(0)' onclick='javascript:newGoogleAuthBetaTry()'>Click here to try out the BETA version!</a>

<hr>

Expand Down

0 comments on commit a87e7b6

Please sign in to comment.