2011-05-30 00:11:52 +04:00
|
|
|
#-- copyright
|
|
|
|
# ChiliProject is a project management system.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2010-2011 the ChiliProject Team
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# See doc/COPYRIGHT.rdoc for more details.
|
|
|
|
#++
|
|
|
|
|
2007-08-30 02:27:43 +04:00
|
|
|
module Redmine
|
|
|
|
module Info
|
|
|
|
class << self
|
2011-02-20 07:38:50 +03:00
|
|
|
def app_name; 'ChiliProject' end
|
|
|
|
def url; 'https://www.chiliproject.org/' end
|
2011-02-25 01:51:33 +03:00
|
|
|
def help_url
|
|
|
|
"https://www.chiliproject.org/help/v#{Redmine::VERSION.to_semver}"
|
|
|
|
end
|
2007-08-30 02:27:43 +04:00
|
|
|
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
|
2009-05-31 03:00:22 +04:00
|
|
|
|
|
|
|
# Creates the url string to a specific Redmine issue
|
|
|
|
def issue(issue_id)
|
|
|
|
url + 'issues/' + issue_id.to_s
|
|
|
|
end
|
2007-08-30 02:27:43 +04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|