Skip to content

Commit

Permalink
Base
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Aug 5, 2015
0 parents commit 8b902bc
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
= esteren

3 changes: 3 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# English strings go here for Rails i18n
en:
# my_label: "My label"
3 changes: 3 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Les traductions en Français s'écrivent ici
fr:
# my_label: "Mon titre"
2 changes: 2 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Plugin's routes
# See: http://guides.rubyonrails.org/routing.html
20 changes: 20 additions & 0 deletions init.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Redmine::Plugin.register :esteren do
name 'Esteren plugin'
author 'Alex "Pierstoval" Rock Ancelet'
description 'Esteren tools for Redmine'
version '0.1.0'
url 'http://esteren.org'
author_url 'http://www.Orbitale.io'

menu(
:top_menu,
:esteren,
{:controller => :issues, :action => :index},
:caption => :label_issue_plural,
:if => Proc.new {
User.current.allowed_to?(:view_issue, nil, :global => true) or
User.current.admin?
}
)

end

0 comments on commit 8b902bc

Please sign in to comment.