From d11a6b87f2f79ad06923d48c23b3e404076ed146 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 18 Nov 2015 16:43:16 +0100 Subject: [PATCH 1/2] fix migration on redmine 3.1 --- app/models/rb_issue_history.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/rb_issue_history.rb b/app/models/rb_issue_history.rb index 3048fdbbb..ffe445d13 100644 --- a/app/models/rb_issue_history.rb +++ b/app/models/rb_issue_history.rb @@ -160,7 +160,7 @@ def self.rebuild_issue(issue, status=nil) } if ActiveRecord::Base.connection.tables.include?('rb_journals') - RbJournal.all(:conditions => ['issue_id=?', issue.id], :order => 'timestamp asc').each{|j| + RbJournal.where('issue_id=?', 601).order('timestamp asc').each{|j| date = j.timestamp.to_date full_journal[date] ||= {} case j.property From 2042b2da04d179e337d0fcf4406b178af1092a5e Mon Sep 17 00:00:00 2001 From: Inclooder Date: Tue, 29 Mar 2016 13:40:35 +0200 Subject: [PATCH 2/2] displaying sprint description in taskboard --- app/views/rb_taskboards/show.html.erb | 1 + assets/stylesheets/taskboard.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/views/rb_taskboards/show.html.erb b/app/views/rb_taskboards/show.html.erb index 84155b498..5207d566b 100644 --- a/app/views/rb_taskboards/show.html.erb +++ b/app/views/rb_taskboards/show.html.erb @@ -70,6 +70,7 @@ <%- content_for :main do %> +
<%= @sprint.description %>
diff --git a/assets/stylesheets/taskboard.css b/assets/stylesheets/taskboard.css index cc406b67f..36c7bbffc 100644 --- a/assets/stylesheets/taskboard.css +++ b/assets/stylesheets/taskboard.css @@ -400,3 +400,7 @@ See RB.Taskboard.initialize() #project_quick_jump_box{ max-width: 300px; } + +.sprint_description_taskboard { + margin: 5px 10px 5px 10px; +}