mirror of
https://github.com/Radarr/Radarr
synced 2025-02-25 15:43:08 +00:00
fix ical ics file (#603)
This commit is contained in:
parent
721773ef68
commit
10f0be0708
2 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ module.exports = Marionette.Layout.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
_updateUrl : function() {
|
_updateUrl : function() {
|
||||||
var icalUrl = window.location.host + StatusModel.get('urlBase') + '/feed/calendar/NzbDrone.ics?';
|
var icalUrl = window.location.host + StatusModel.get('urlBase') + '/feed/calendar/Radarr.ics?';
|
||||||
|
|
||||||
if (this.ui.includeUnmonitored.prop('checked')) {
|
if (this.ui.includeUnmonitored.prop('checked')) {
|
||||||
icalUrl += 'unmonitored=true&';
|
icalUrl += 'unmonitored=true&';
|
||||||
|
@ -51,4 +51,4 @@ module.exports = Marionette.Layout.extend({
|
||||||
this.ui.icalUrl.attr('value', icalHttpUrl);
|
this.ui.icalUrl.attr('value', icalHttpUrl);
|
||||||
this.ui.icalWebCal.attr('href', icalWebCalUrl);
|
this.ui.icalWebCal.attr('href', icalWebCalUrl);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<meta name="msapplication-config" content="/Content/Images/favicon/browserconfig.xml">
|
<meta name="msapplication-config" content="/Content/Images/favicon/browserconfig.xml">
|
||||||
<meta name="theme-color" content="#272727">
|
<meta name="theme-color" content="#272727">
|
||||||
|
|
||||||
<link rel="alternate" type="text/calendar" title="iCalendar feed for Radarr" href="/feed/calendar/NzbDrone.ics"/>
|
<link rel="alternate" type="text/calendar" title="iCalendar feed for Radarr" href="/feed/calendar/Radarr.ics"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Reference in a new issue