[phase-6]project menu
This commit is contained in:
parent
88da1209d3
commit
ce868cfcf2
@ -6,3 +6,5 @@ en:
|
|||||||
label_glossary_categories: "Glossary categories"
|
label_glossary_categories: "Glossary categories"
|
||||||
label_glossary_category: "Glossary category"
|
label_glossary_category: "Glossary category"
|
||||||
label_glossary_category_new: "New glossary category"
|
label_glossary_category_new: "New glossary category"
|
||||||
|
|
||||||
|
glossary_title: Glossary
|
@ -5,3 +5,4 @@ ja:
|
|||||||
label_glossary_categories: "用語のカテゴリ"
|
label_glossary_categories: "用語のカテゴリ"
|
||||||
label_glossary_category: "用語のカテゴリ"
|
label_glossary_category: "用語のカテゴリ"
|
||||||
label_glossary_category_new: "カテゴリの作成"
|
label_glossary_category_new: "カテゴリの作成"
|
||||||
|
glossary_title: 用語集
|
11
init.rb
11
init.rb
@ -5,4 +5,15 @@ Redmine::Plugin.register :redmine_glossary do
|
|||||||
version '1.0.1'
|
version '1.0.1'
|
||||||
url 'https://github.com/torutk/redmine_glossary'
|
url 'https://github.com/torutk/redmine_glossary'
|
||||||
author_url 'http://www.torutk.com'
|
author_url 'http://www.torutk.com'
|
||||||
|
|
||||||
|
|
||||||
|
project_module :glossary do
|
||||||
|
permission :all_glossary, glossary_terms: :index
|
||||||
|
end
|
||||||
|
|
||||||
|
menu :project_menu, :glossary,
|
||||||
|
{ controller: :glossary_terms, action: :index },
|
||||||
|
caption: :glossary_title,
|
||||||
|
param: :project_id
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user