Skip to content

Commit

Permalink
Support for Redmine 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RosselloAzcom committed Jan 2, 2020
1 parent 86de72c commit 27609cd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion app/overrides/projects/show/bypass_ul.html.erb.deface
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!-- add_to_attributes 'ul' namespaced
<!-- add_to_attributes '.splitcontentleft>ul:first-of-type' namespaced
attributes :style => 'display: contents' -->
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- replace 'ul li:last-of-type' namespaced -->
<!-- replace '.splitcontentleft>ul:first-of-type li:last-of-type' namespaced -->
<div class="custom box">
<h3 class="cf_<%= custom_field.id %>"><%= custom_field.name %></h3>
<h3 class="<%= custom_field.css_classes %>"><%= custom_field.name %></h3>
<%= formatted %>
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- replace 'ul li:first-of-type' namespaced -->
<!-- replace '.splitcontentleft>ul:first-of-type li:first-of-type' namespaced -->
<div class="homepage box">
<h3><%=l(:field_homepage)%></h3>
<%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %>
Expand Down
4 changes: 2 additions & 2 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27609cd

Please sign in to comment.