Skip to content

Commit

Permalink
mviewer#160 harmonize modal footer btn
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaetanbrl committed Jun 21, 2023
1 parent 94adc82 commit 5f6296a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ <h6 class="my-2" i18n="modal.theme.paramspanel.data">Données de la thématique<
<div class="modal-footer">
<button type="button" class="btn btn-outline-primary" data-bs-dismiss="modal" i18n="cancel">Annuler</button>
<button id="btn-saveTheme" class="btn btn btn-primary" onclick="saveTheme();">
<span i18n="validate">Valider</span>
<span i18n="save">Enregistrer</span>
</button>
</div>
</div>
Expand Down Expand Up @@ -1913,7 +1913,7 @@ <h5 class="modal-title" i18n="modal.appversion.title">Historique des modificatio
<div id="appsListTable"></div>
</div>
<div class="modal-footer d-none">
<button id="validVersionFooterBtn" onclick="mv.createVersion()" type="button" class="btn btn-primary">Valider</button>
<button id="validVersionFooterBtn" onclick="mv.createVersion()" type="button" class="btn btn-primary" i18n="save">Enregistrer</button>
<button id="cancelVersionFooterBtn" onclick="mv.cleanVersionHistoryUI()" type="button" class="btn btn-outline-primary" data-bs-dismiss="modal" aria-label="Close" i18n="cancel">Annuler</button>
</div>
</div>
Expand Down Expand Up @@ -2003,7 +2003,7 @@ <h6>Aperçu</h6>
</span>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="mv.templateGenerator.onValid()" data-bs-toggle="modal" data-bs-target="#mod-layerOptions" i18n="validate">Valider</button>
<button type="button" class="btn btn-primary" onclick="mv.templateGenerator.onValid()" data-bs-toggle="modal" data-bs-target="#mod-layerOptions" i18n="save">Enregistrer</button>
<button type="button" class="btn btn-outline-primary" data-bs-toggle="modal" data-bs-target="#mod-layerOptions" data-bs-dismiss="modal" i18n="close">Fermer</button>
</div>
</div>
Expand All @@ -2019,7 +2019,7 @@ <h5 class="modal-title" >Générateur de template</h5>
<div class="modal-body" id="modalTemplateGeneratorBody">
</div>
<div class="modal-footer">
<button type="button" id="templateSelectorAddBtn" onclick="mv.templateGenerator.componentSelector.onValid()" class="btn btn-primary d-none" data-bs-toggle="modal" data-bs-target="#templageGeneratorModal" onclick="" i18n="validate">Valider</button>
<button type="button" id="templateSelectorAddBtn" onclick="mv.templateGenerator.componentSelector.onValid()" class="btn btn-primary d-none" data-bs-toggle="modal" data-bs-target="#templageGeneratorModal" onclick="" i18n="save">Enregistrer</button>
<button type="button" class="btn btn-outline-primary" data-bs-toggle="modal" data-bs-target="#templageGeneratorModal" i18n="close">Fermer</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lib/mv.js
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@ var mv = (function () {
</a>
<a class="cardsClose notsave-close zoomCard" onclick="" data-bs-dismiss="modal">
<i class="ri-home-2-line"></i>
<span i18n="cancel">Annuler</span>
<span i18n="close">${mviewer.tr("close")}</span>
</a>
<a class="returnConf-close" data-bs-target="#genericModal" data-bs-toggle="modal" aria-label="Close"><i class="ri-arrow-left-line"></i> <span i18n="modal.exit.previous">Retour</span></a>
</div>
Expand Down

0 comments on commit 5f6296a

Please sign in to comment.