Merge pull request #3544 from overleaf/hb-tidy-out-of-sync

Links from out of sync modal open new tab

GitOrigin-RevId: fdb3734eb7700fdf7a78719ce854999686f5b739
This commit is contained in:
Jakob Ackermann 2021-01-12 11:24:10 +00:00 committed by Copybot
parent d7d989ca1b
commit 36cc89299b
3 changed files with 8 additions and 7 deletions

View file

@ -149,7 +149,7 @@ block content
| {{editorContent}}
.modal-footer
button.btn.btn-info(ng-click="done()") #{translate("ok")}
button.btn.btn-info(ng-click="done()") #{translate("reload_editor")}
script(type="text/ng-template", id="lockEditorModalTemplate")
.modal-header

View file

@ -1,10 +1,10 @@
import _ from 'lodash'
/* eslint-disable
camelcase,
node/handle-callback-err,
max-len,
no-return-assign,
*/
camelcase,
node/handle-callback-err,
max-len,
no-return-assign,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
@ -326,7 +326,7 @@ export default EditorManager = (function() {
this.$scope.editor.error_state = true
this.ide.showOutOfSyncModal(
'Out of sync',
"Sorry, this file has gone out of sync and we need to do a full refresh. <br> <a href='/learn/Kb/Editor_out_of_sync_problems'>Please see this help guide for more information</a>",
"Sorry, this file has gone out of sync and we need to do a full refresh. <br> <a target='_blank' rel='noopener noreferrer' href='/learn/Kb/Editor_out_of_sync_problems'>Please see this help guide for more information</a>",
editorContent
)
// Do not forceReopen the document.

View file

@ -1,4 +1,5 @@
{
"reload_editor": "Reload editor",
"compile_error_description": "This project did not compile because of an error",
"validation_issue_description": "This project did not compile because of a validation issue",
"compile_error_entry_description": "An error which prevented this project from compiling",