From 27609cda57b9f393e50b47d6cea73e9e495f9c92 Mon Sep 17 00:00:00 2001 From: Massimo Rossello Date: Thu, 2 Jan 2020 21:47:19 +0100 Subject: [PATCH] Support for Redmine 4.1 --- README.md | 2 +- app/overrides/projects/show/bypass_ul.html.erb.deface | 2 +- .../projects/show/project_custom_fields.html.erb.deface | 4 ++-- app/overrides/projects/show/project_homepage.html.erb.deface | 2 +- init.rb | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a28692f..7432e85 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Redmine Better Overview -Compatible with Redmine 4.0.x. +Compatible with Redmine 4.1.x. The plugin version corresponds to minimum version of Redmine required. Provides a better projects overview. diff --git a/app/overrides/projects/show/bypass_ul.html.erb.deface b/app/overrides/projects/show/bypass_ul.html.erb.deface index bb091c0..594387f 100644 --- a/app/overrides/projects/show/bypass_ul.html.erb.deface +++ b/app/overrides/projects/show/bypass_ul.html.erb.deface @@ -1,2 +1,2 @@ - diff --git a/app/overrides/projects/show/project_custom_fields.html.erb.deface b/app/overrides/projects/show/project_custom_fields.html.erb.deface index 05dcb02..ecdd924 100644 --- a/app/overrides/projects/show/project_custom_fields.html.erb.deface +++ b/app/overrides/projects/show/project_custom_fields.html.erb.deface @@ -1,5 +1,5 @@ - +
-

<%= custom_field.name %>

+

<%= custom_field.name %>

<%= formatted %>
diff --git a/app/overrides/projects/show/project_homepage.html.erb.deface b/app/overrides/projects/show/project_homepage.html.erb.deface index 498a4df..1274b26 100644 --- a/app/overrides/projects/show/project_homepage.html.erb.deface +++ b/app/overrides/projects/show/project_homepage.html.erb.deface @@ -1,4 +1,4 @@ - +

<%=l(:field_homepage)%>

<%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %> diff --git a/init.rb b/init.rb index 8ba2371..a6c1e8d 100644 --- a/init.rb +++ b/init.rb @@ -27,10 +27,10 @@ name 'Redmine Better Project Overview plugin' author 'Massimo Rossello' description 'Displays a better project overview' - version '1.0.0' + version '4.1.0' url 'https://github.com/maxrossello/redmine_better_overview.git' author_url 'https://github.com/maxrossello' - requires_redmine :version_or_higher => '4.0.0' + requires_redmine :version_or_higher => '4.1.0' end Rails.configuration.to_prepare do