Bunch of wording changes.

This commit is contained in:
2024-10-23 08:22:49 -07:00
parent 4f51bd52ed
commit b7ad5bdcea
8 changed files with 1720 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ Template.InternshipHtmlEditor.onCreated(function() {
if(ask) {
//Ask the user if they want to update the repository with their changes.
swal({
swal.fire({
title: "Save Changes",
text: "Would you like to save any changes you have made to this page?",
type: "question",

View File

@@ -1,5 +1,4 @@
import './Messages.html';
import swal from "sweetalert2";
const PREFIX = "Messages_";

View File

@@ -45,7 +45,7 @@ Template.PageEditor.onCreated(function() {
currentHtml = data;
//Ask the user if they want to update the repository with their changes.
swal({
swal.fire({
title: "Save Changes",
text: "Would you like to save any changes you have made to this page?",
type: "question",

View File

@@ -2,6 +2,8 @@
import './SlideshowEditor.html';
import '/imports/ui/dialogs/SelectImageDialog.js';
import swal from "sweetalert2";
import {Session} from 'meteor/session';
import {Meteor} from 'meteor/meteor';
const PREFIX = "SlideshowEditor_";
@@ -114,7 +116,7 @@ Template.SlideshowEditor.events({
let slideshow = Session.get(PREFIX + 'selectedSlideshow');
if(slideshow) {
swal({
swal.fire({
title: 'Are you sure?',
text: "You won't be able to revert this!",
type: 'warning',