<%= notice %>
<%- if @library -%> (<%= link_to 'iCalendar', library_events_path(@library, :format => :ics) -%>) <%- else -%> (<%= link_to 'iCalendar', events_path(:format => :ics) -%>) <%- end -%>