2012-04-25 21:17:49 +04:00
|
|
|
<h2>Hello</h2>
|
|
|
|
|
2007-09-23 22:50:53 +04:00
|
|
|
<p class="icon icon-example-works"><%= l(:text_say_hello) %></p>
|
|
|
|
|
|
|
|
<p><label>Example setting</label>: <%= @value %></p>
|
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= 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 %>
|
2007-09-23 22:50:53 +04:00
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= stylesheet_link_tag "/plugin_assets/sample_plugin/stylesheets/example.css", :media => "screen" %>
|
2007-09-23 22:50:53 +04:00
|
|
|
<% end %>
|