From 7aae031602dd0486ac565a9ea437eed20d7f4f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Thu, 29 Sep 2022 13:19:31 +0200 Subject: [PATCH] Intedation --- README.md | 6 ++---- app/models/dmsf_file.rb | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 67d1238d..7650e13d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ -Redmine DMSF Plugin -=================== - -The current version of Redmine DMSF is **3.0.7 devel** +Redmine DMSF Plugin 3.0.7 devel +=============================== [![GitHub CI](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml/badge.svg?branch=devel)](https://github.com/danmunn/redmine_dmsf/actions/workflows/rubyonrails.yml) [![Support Ukraine Badge](https://bit.ly/support-ukraine-now)](https://github.com/support-ukraine/support-ukraine) diff --git a/app/models/dmsf_file.rb b/app/models/dmsf_file.rb index 5c35a1ac..31a942c3 100644 --- a/app/models/dmsf_file.rb +++ b/app/models/dmsf_file.rb @@ -318,7 +318,7 @@ class DmsfFile < ActiveRecord::Base if File.exist? last_revision.disk_file FileUtils.cp last_revision.disk_file, new_revision.disk_file(false) end - new_revision.comment = l(:comment_copied_from, source: "#{self.project.identifier}: #{dmsf_path_str}") + new_revision.comment = l(:comment_copied_from, source: "#{self.project.identifier}:#{dmsf_path_str}") new_revision.custom_values = [] last_revision.custom_values.each do |cv| v = CustomValue.new