Add deprecation warning to calendar index page

[ci skip]
pull/5684/head
Oliver Günther 7 years ago
parent 7a7e02c7d1
commit 53b8d04ce2
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 8
      app/views/work_packages/calendars/index.html.erb
  2. 2
      config/locales/en.yml

@ -27,6 +27,14 @@ See doc/COPYRIGHT.rdoc for more details.
++#%>
<%= toolbar title: (@query.new_record? ? l(:label_calendar) : @query.name) %>
<div class="notification-box -warning">
<a title="close" class="notification-box--close icon-context icon-close"></a>
<div class="notification-box--content">
<p><%= t('deprecations.calendar.removal')%></p>
</div>
</div>
<%= form_tag(work_packages_calendar_index_path, method: :get, id: 'query_form') do %>
<%= hidden_field_tag('project_id', @project.to_param) if @project %>
<%= hidden_field_tag('set_filter', 1) %>

@ -96,6 +96,8 @@ en:
further_information_before: "Please take a look at"
link_name: "how to migrate to the new timeline."
further_information_after: ""
calendar:
removal: "Please note: This module is going to be removed with OpenProject 8.0."
groups:
index:

Loading…
Cancel
Save