* fixed Issue 75: Link for DMSF event in "Activity" is broken
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@136 5e329b0b-a2ee-ea63-e329-299493fc886d
This commit is contained in:
parent
4903928c3d
commit
a7d7e01f49
@ -25,7 +25,7 @@ class DmsfFileRevision < ActiveRecord::Base
|
|||||||
belongs_to :deleted_by_user, :class_name => "User", :foreign_key => "deleted_by_user_id"
|
belongs_to :deleted_by_user, :class_name => "User", :foreign_key => "deleted_by_user_id"
|
||||||
|
|
||||||
acts_as_event :title => Proc.new {|o| "DMSF updated: #{o.file.dmsf_path_str}"},
|
acts_as_event :title => Proc.new {|o| "DMSF updated: #{o.file.dmsf_path_str}"},
|
||||||
:url => Proc.new {|o| {:controller => 'dmsf_detail', :action => 'file_detail', :id => o.file.project, :file_id => o.file}},
|
:url => Proc.new {|o| {:controller => 'dmsf_files', :action => 'show', :id => o.file}},
|
||||||
:datetime => Proc.new {|o| o.updated_at },
|
:datetime => Proc.new {|o| o.updated_at },
|
||||||
:description => Proc.new {|o| o.comment },
|
:description => Proc.new {|o| o.comment },
|
||||||
:author => Proc.new {|o| o.user }
|
:author => Proc.new {|o| o.user }
|
||||||
|
|||||||
2
init.rb
2
init.rb
@ -29,7 +29,7 @@ Redmine::Plugin.register :redmine_dmsf do
|
|||||||
name "DMSF"
|
name "DMSF"
|
||||||
author "Vít Jonáš"
|
author "Vít Jonáš"
|
||||||
description "Document Management System Features"
|
description "Document Management System Features"
|
||||||
version "0.8.1"
|
version "0.8.2"
|
||||||
url "https://code.google.com/p/redmine-dmsf/"
|
url "https://code.google.com/p/redmine-dmsf/"
|
||||||
author_url "mailto:vit.jonas@gmail.com"
|
author_url "mailto:vit.jonas@gmail.com"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user