-
Notifications
You must be signed in to change notification settings - Fork 953
Refactor About dialog to remove HTML template and use centralized server info #13933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+328
−185
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
423d346
Centralize server version info in window.app.serverInfo
banobepascal 8f17646
Refactor: Change AboutDialog to use window.app.serverInfo
banobepascal b226d98
Remove the hidden <dialog> About template from cool.html.m4.
banobepascal 719eba3
AboutDialog: Restore dialog structure to template and populate info s…
banobepascal 319a395
FeedbackDialog: Use window state for lokit hash and WOPI host ID
banobepascal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -227,18 +227,7 @@ m4_ifelse(MOBILEAPP,[true], | |
| </div> | ||
| <div id="about-dialog-info-container"> | ||
| <div id="about-dialog-info"> | ||
| <div id="coolwsd-version-label"></div> | ||
| <div class="about-dialog-info-div"><div id="coolwsd-version" dir="ltr"></div></div> | ||
| <div class="spacer"></div> | ||
| <div id="lokit-version-label"></div> | ||
| <div class="about-dialog-info-div"><div id="lokit-version" dir="ltr"></div></div> | ||
| m4_ifelse(MOBILEAPP,[],[<div id="served-by"><span id="served-by-label"></span> <span id="os-info"></span> <wbr><span id="coolwsd-id"></span></div>],[<p></p>]) | ||
| <div id="slow-proxy"></div> | ||
| m4_ifelse(DEBUG,[true],[<div id="js-dialog">JSDialogs: <a href="#">View widgets</a></div>]) | ||
| <div id="routeToken"></div> | ||
| <div id="timeZone"></div> | ||
| m4_ifelse(MOBILEAPP,[],[<div id="wopi-host-id">%WOPI_HOST_ID%</div>],[<p></p>]) | ||
eszkadev marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <p class="about-dialog-info-div"><span dir="ltr">Copyright © _YEAR_, VENDOR.</span></p> | ||
| <div id="lokit-version" dir="ltr"></div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
@@ -300,6 +289,9 @@ m4_ifelse(MOBILEAPP, [true], | |
| data-geolocation-setup = "%GEOLOCATION_SETUP%" | ||
| data-canvas-slideshow-enabled = "%CANVAS_SLIDESHOW_ENABLED%" | ||
| data-wopi-setting-base-url = "%WOPI_SETTING_BASE_URL%" | ||
| data-wopi-host-id = "%WOPI_HOST_ID%" | ||
| data-vendor = VENDOR | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should put it inside |
||
| data-copyright-year = _YEAR_ | ||
| /> | ||
| ]) | ||
|
|
||
|
|
||
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.