Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
|||
<h2>Good Bye</h2>
|
||||
|
||||
<p class="icon icon-example-works"><%= l(:text_say_goodbye) %></p>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= stylesheet_link_tag 'example', :plugin => 'sample_plugin', :media => "screen" %>
|
||||
<% end %>
|
15
extra/sample_plugin/app/views/example/say_hello.html.erb
Normal file
15
extra/sample_plugin/app/views/example/say_hello.html.erb
Normal file
|
@ -0,0 +1,15 @@
|
|||
<h2>Hello</h2>
|
||||
|
||||
<p class="icon icon-example-works"><%= l(:text_say_hello) %></p>
|
||||
|
||||
<p><label>Example setting</label>: <%= @value %></p>
|
||||
|
||||
<%= link_to('Good bye', :action => 'say_goodbye', :id => @project) if User.current.allowed_to?(:example_say_goodbye, @project) %>
|
||||
|
||||
<% content_for :sidebar do %>
|
||||
<p>Adding content to the sidebar...</p>
|
||||
<% end %>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= stylesheet_link_tag 'example', :plugin => 'sample_plugin', :media => "screen" %>
|
||||
<% end %>
|
|
@ -0,0 +1,3 @@
|
|||
<h3>Sample block</h3>
|
||||
|
||||
You are <strong><%= h(User.current) %></strong> and this is a sample block for My Page added from a plugin.
|
|
@ -0,0 +1,3 @@
|
|||
<p><label>Example setting</label><%= text_field_tag 'settings[sample_setting]', @settings['sample_setting'] %></p>
|
||||
|
||||
<p><label>Foo</label><%= text_field_tag 'settings[foo]', @settings['foo'] %></p>
|
Loading…
Add table
Add a link
Reference in a new issue