Slight changes to the activity view.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1120 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-02-04 19:37:23 +00:00
parent a3dda6dc4a
commit 80a60247f5
3 changed files with 24 additions and 9 deletions

View File

@@ -26,6 +26,10 @@ module ProjectsHelper
}, options
end
def format_activity_description(text)
h(truncate(text, 250))
end
def project_settings_tabs
tabs = [{:name => 'info', :action => :edit_project, :partial => 'projects/edit', :label => :label_information_plural},
{:name => 'modules', :action => :select_project_modules, :partial => 'projects/settings/modules', :label => :label_module_plural},