Skip to content

Commit

Permalink
reset mail internationalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Zwiterrion committed Oct 1, 2024
1 parent 2dcdf6d commit 1a0d324
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 493 deletions.
27 changes: 0 additions & 27 deletions daikoku/javascript/src/components/adminbackoffice/cms/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,6 @@ export const CMSOffice = () => {
<div className="d-flex flex-row align-items-center justify-content-between mb-2">
<h1 className="mb-0">Pages</h1>
<div>
{/* <div className="btn-group dropstart">
<button type="button" className="btn btn-sm me-1 btn-outline-primary" data-bs-toggle="dropdown" aria-expanded="false">
<i className="fas fa-cog"></i>
</button>
<ul className="dropdown-menu"> */}
<li className="dropdown-item" onClick={() => importRef.current?.click()}>
<input ref={r => importRef.current = r} type="file" accept=".zip" className="form-control hide" onChange={loadFiles} />
{translate('cms.import_all')}
</li>
<button className="btn btn-sm btn-outline-info" onClick={() => {
if (!downloading) {
setDownloading(true);
Expand All @@ -147,24 +138,6 @@ export const CMSOffice = () => {
}}>
{downloading ? (<Spinner heigth={18} width={18} />) : (translate('cms.export_all'))}
</button>
{/* </ul> */}
{/* </div> */}
{/* <button onClick={() => {
prompt({
message: translate('page.prompt.creation.message'),
title: translate('page.prompt.creation.title'),
placeholder: translate('page.prompt.creation.placeholder'),
okLabel: translate('Create')
})
.then((newPageName) => {
if (newPageName) {
Services.createCmsPageWithName(newPageName)
.then((res) => navigate(`${location.pathname}/edit/${res._id}`));
}
});
}} className="btn btn-sm btn-outline-success">
{translate('cms.index.new_page')}
</button> */}
</div>
</div>

Expand Down

This file was deleted.

Loading

0 comments on commit 1a0d324

Please sign in to comment.