mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-08 11:32:39 +00:00
Merge pull request #1883 from overleaf/as-remove-rttc-beta-program
Move rich text track changes out of the beta program GitOrigin-RevId: 4b23a42f3b2ef53012b5c6cca310fe82de5d9a0c
This commit is contained in:
parent
6e238a8345
commit
6fc507aea3
4 changed files with 1 additions and 13 deletions
|
@ -688,9 +688,6 @@ module.exports = ProjectController = {
|
|||
project.overleaf != null ? project.overleaf.history : undefined,
|
||||
x => x.display
|
||||
),
|
||||
richTextTrackChangesEnabled:
|
||||
(req.query != null ? req.query.rttc : undefined) === 'true' ||
|
||||
user.betaProgram,
|
||||
showTestControls:
|
||||
(req.query != null ? req.query.tc : undefined) === 'true' ||
|
||||
user.isAdmin,
|
||||
|
|
|
@ -141,7 +141,6 @@ block requirejs
|
|||
window.maxDocLength = #{maxDocLength};
|
||||
window.trackChangesState = data.trackChangesState;
|
||||
window.wikiEnabled = #{!!(settings.apis.wiki && settings.apis.wiki.url)};
|
||||
window.richTextTrackChangesEnabled = #{richTextTrackChangesEnabled}
|
||||
window.gitBridgePublicBaseUrl = '#{gitBridgePublicBaseUrl}'
|
||||
window.requirejs = {
|
||||
"paths" : {
|
||||
|
|
|
@ -238,14 +238,7 @@
|
|||
i.fa.fa-list
|
||||
span.rp-nav-label #{translate("overview")}
|
||||
|
||||
.rp-unsupported-msg-wrapper(ng-if="!reviewPanel.richTextTrackChangesEnabled")
|
||||
.rp-unsupported-msg
|
||||
i.fa.fa-5x.fa-exclamation-triangle
|
||||
p.rp-unsupported-msg-title Sorry, Track Changes is not supported in Rich Text mode (yet).
|
||||
p We didn't want to delay your ability to use Rich Text mode so we've launched without support for Track Changes.
|
||||
p We're working hard to include Track Changes as soon as possible.
|
||||
|
||||
.rp-unsupported-msg-wrapper(ng-if="reviewPanel.richTextTrackChangesEnabled")
|
||||
.rp-unsupported-msg-wrapper
|
||||
.rp-unsupported-msg
|
||||
i.fa.fa-5x.fa-exclamation-triangle
|
||||
p.rp-unsupported-msg-title Track Changes support in rich text mode is a work in progress.
|
||||
|
|
|
@ -75,7 +75,6 @@ define([
|
|||
trackChangesOnForEveryone: false,
|
||||
trackChangesOnForGuests: false,
|
||||
trackChangesForGuestsAvailable: false,
|
||||
richTextTrackChangesEnabled: window.richTextTrackChangesEnabled,
|
||||
entries: {},
|
||||
resolvedComments: {},
|
||||
hasEntries: false,
|
||||
|
|
Loading…
Reference in a new issue