OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/views/my/_block.rhtml

16 lines
486 B

<div id="block_<%= block_name.dasherize %>" class="mypage-box">
<div class="box-actions">
<%= link_to_remote "", {
:url => { :action => "remove_block", :block => block_name },
:complete => "removeBlock('block_#{block_name.dasherize}')" },
:class => "close-icon",
:title => l(:button_remove_widget)
%>
</div>
<div class="handle">
<%= render :partial => "my/blocks/#{block_name}", :locals => { :user => user } %>
</div>
</div>