Removing needless font setting
This commit is contained in:
parent
12a92f878d
commit
981d03faaf
1 changed files with 3 additions and 27 deletions
|
|
@ -223,35 +223,13 @@ export default {
|
||||||
const dateFormat = 'yyyyMMddTHHmmss';
|
const dateFormat = 'yyyyMMddTHHmmss';
|
||||||
const outlookComTimeSpanFormat = 'yyyy-MM-ddTHH:mm:ss';
|
const outlookComTimeSpanFormat = 'yyyy-MM-ddTHH:mm:ss';
|
||||||
if (type === calendarOptions.OUTLOOKCOM) {
|
if (type === calendarOptions.OUTLOOKCOM) {
|
||||||
URL = `${applicationConfig.OUTLOOK_CALENDAR}&startdt=${encodeURIComponent(
|
URL = `${applicationConfig.OUTLOOK_CALENDAR}&startdt=${encodeURIComponent(getDateFormat(this.Appointment.StartDate, outlookComTimeSpanFormat))}&enddt=${encodeURIComponent(getDateFormat(this.Appointment.EndDate, outlookComTimeSpanFormat))}&subject=${encodeURIComponent(this.Appointment.Subject)}&body=${encodeURIComponent(this.Appointment.Body)}&location=${encodeURIComponent(this.Appointment.Location)}`;
|
||||||
getDateFormat(this.Appointment.StartDate, outlookComTimeSpanFormat)
|
|
||||||
)}&enddt=${encodeURIComponent(
|
|
||||||
getDateFormat(this.Appointment.EndDate, outlookComTimeSpanFormat)
|
|
||||||
)}&subject=${encodeURIComponent(
|
|
||||||
this.Appointment.Subject
|
|
||||||
)}&body=${encodeURIComponent(this.Appointment.Body)}&location=${encodeURIComponent(
|
|
||||||
this.Appointment.Location
|
|
||||||
)}`;
|
|
||||||
}
|
}
|
||||||
if (type === calendarOptions.GOOGLE) {
|
if (type === calendarOptions.GOOGLE) {
|
||||||
URL = `${applicationConfig.GOOGLE_CALENDAR}&text=${encodeURIComponent(
|
URL = `${applicationConfig.GOOGLE_CALENDAR}&text=${encodeURIComponent(this.Appointment.Subject)}&dates=${encodeURIComponent(getDateFormat(this.Appointment.StartDate, dateFormat))}/${encodeURIComponent(getDateFormat(this.Appointment.EndDate, dateFormat))}&details=${encodeURIComponent(this.Appointment.Body)}&location=${encodeURIComponent(this.Appointment.Location)}&sf=true&output=xml`;
|
||||||
this.Appointment.Subject
|
|
||||||
)}&dates=${encodeURIComponent(
|
|
||||||
getDateFormat(this.Appointment.StartDate, dateFormat)
|
|
||||||
)}/${encodeURIComponent(
|
|
||||||
getDateFormat(this.Appointment.EndDate, dateFormat
|
|
||||||
))}&details=${encodeURIComponent(
|
|
||||||
this.Appointment.Body
|
|
||||||
)}&location=${encodeURIComponent(this.Appointment.Location)}&sf=true&output=xml`;
|
|
||||||
}
|
}
|
||||||
if (type === calendarOptions.YAHOO) {
|
if (type === calendarOptions.YAHOO) {
|
||||||
URL = `${applicationConfig.YAHOO_CALENDAR}&TITLE=${encodeURIComponent(
|
URL = `${applicationConfig.YAHOO_CALENDAR}&TITLE=${encodeURIComponent(this.Appointment.Subject)}&DESC=${encodeURIComponent(this.Appointment.Body)}&ST=${encodeURIComponent(getDateFormat(this.Appointment.StartDate, dateFormat))}&DUR=${this.Appointment.Duration}&in_loc=${encodeURIComponent(this.Appointment.Location)}`;
|
||||||
this.Appointment.Subject
|
|
||||||
)}&DESC=${encodeURIComponent(this.Appointment.Body)}&ST=${encodeURIComponent(
|
|
||||||
getDateFormat(this.Appointment.StartDate, dateFormat)
|
|
||||||
)}&DUR=${this.Appointment.Duration}&in_loc=${encodeURIComponent(
|
|
||||||
this.Appointment.Location
|
|
||||||
)}`;
|
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
url: URL,
|
url: URL,
|
||||||
|
|
@ -284,8 +262,6 @@ export default {
|
||||||
margin: 0 0 0 0.4375rem;
|
margin: 0 0 0 0.4375rem;
|
||||||
color: #1574a1;
|
color: #1574a1;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
font-weight: 500;
|
|
||||||
font-family: "UrbanistRegular";
|
|
||||||
}
|
}
|
||||||
.add-to-calendar button {
|
.add-to-calendar button {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue