Skip to content

Commit

Permalink
fix action and update version tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaetanbrl committed Nov 13, 2023
1 parent e7fcbce commit a192303
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config-php-sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app_conf": {
"studio_title": "GéoBretagne mviewer studio",
"mviewer_version": "3.9",
"mviewerstudio_version": "4",
"mviewerstudio_version": "4.0.1",
"is_php": "true",
"php": {
"upload_service": "srv/php/store.php",
Expand Down
2 changes: 1 addition & 1 deletion config-python-sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app_conf": {
"studio_title": "Mviewer Studio",
"mviewer_version": "3.9",
"mviewerstudio_version": "4",
"mviewerstudio_version": "4.0.1",
"api": "api/app",
"store_style_service": "api/style",
"mviewer_instance": "/mviewer/",
Expand Down
5 changes: 2 additions & 3 deletions js/mviewerstudio.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ $(document).ready(function () {
// console.groupCollapsed("init app from config");
_conf = data.app_conf;
const VERSION = _conf.mviewerstudio_version;
document.querySelector(
"#creditInfo"
).innerHTML = `MviewerStudio | Licence GPL-3.0 | Version ${VERSION}`;
document.querySelector("#creditInfo").innerHTML =
`MviewerStudio | Licence GPL-3.0 | Version ${VERSION}`;
let mvCompliantInfo = document.querySelector("#mviewerCompliantInfo");
mvCompliantInfo.innerHTML = `${mvCompliantInfo.innerHTML} ${_conf.mviewer_version}`;

Expand Down
5 changes: 2 additions & 3 deletions lib/mv.js
Original file line number Diff line number Diff line change
Expand Up @@ -1823,9 +1823,8 @@ var mv = (function () {
</div>`;
}
if (!applications.length && !search) {
document.querySelector(
"#liste_applications"
).innerHTML = `<div class="text-center p-5">
document.querySelector("#liste_applications").innerHTML =
`<div class="text-center p-5">
<h3>
<i class="ri-eye-off-line"></i>
<p>${mviewer.tr("load.app.any")}</p>
Expand Down

0 comments on commit a192303

Please sign in to comment.