Skip to content

Commit 65408c8

Browse files
author
root
committed
Move GITHUB_WIKI and GITHUB_ISSUE links to RedmineGitolite::Config
1 parent 86efb17 commit 65408c8

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Diff for: app/views/settings/_redmine_git_hosting.html.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
{:name => 'gitolite_rescue', :partial => 'settings/gitolite_rescue', :label => :label_tab_gitolite_rescue},
2828
] %>
2929

30-
<span><%= l(:label_need_help) %> : <%= link_to l(:label_redmine_git_hosting_wiki), REDMINE_WIKI, :target => '_blank' %></span>
30+
<span><%= l(:label_need_help) %> : <%= link_to l(:label_redmine_git_hosting_wiki), RedmineGitolite::Config::GITHUB_WIKI, :target => '_blank' %></span>
3131

3232
<br />
3333

34-
<span><%= l(:label_open_issue) %> : <%= link_to l(:label_redmine_git_hosting_issue), REDMINE_ISSUE, :target => '_blank' %></span>
34+
<span><%= l(:label_open_issue) %> : <%= link_to l(:label_redmine_git_hosting_issue), RedmineGitolite::Config::GITHUB_ISSUE, :target => '_blank' %></span>
3535

3636
<br />
3737
<br />

Diff for: init.rb

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
require 'redmine_git_hosting'
66

7-
REDMINE_ISSUE = 'https://github.com/jbox-web/redmine_git_hosting/issues'
8-
REDMINE_WIKI = 'https://github.com/jbox-web/redmine_git_hosting/wiki/Configuration-variables'
9-
107
Redmine::Plugin.register :redmine_git_hosting do
118
name 'Redmine Git Hosting Plugin'
129
author 'Eric Bishop, Pedro Algarvio, Christian Käser, Zsolt Parragi, Yunsang Choi, Joshua Hogendorn, Jan Schulz-Hofen, John Kubiatowicz, Nicolas Rodriguez and others'

Diff for: lib/redmine_gitolite/config.rb

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ module RedmineGitolite
33
module Config
44

55

6+
GITHUB_ISSUE = 'https://github.com/jbox-web/redmine_git_hosting/issues'
7+
GITHUB_WIKI = 'https://github.com/jbox-web/redmine_git_hosting/wiki/Configuration-variables'
8+
9+
610
def self.logger
711
RedmineGitolite::Log.get_logger(:global)
812
end

0 commit comments

Comments
 (0)