diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-02-05 19:48:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-02-05 19:48:01 +0000 |
commit | f4842d6eedc862a5196f26190e80b97b7392e3f2 (patch) | |
tree | 6a2649df38562a635c67fb64e4db9cfce593fbbc /app/views/my | |
parent | 10e77d865b6cb60fd18c06cc4006e8e60d6c0012 (diff) | |
download | redmine-f4842d6eedc862a5196f26190e80b97b7392e3f2.tar.gz redmine-f4842d6eedc862a5196f26190e80b97b7392e3f2.zip |
added icons on my/page_layout top right links
git-svn-id: http://redmine.rubyforge.org/svn/trunk@246 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my')
-rw-r--r-- | app/views/my/page_layout.rhtml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/my/page_layout.rhtml b/app/views/my/page_layout.rhtml index ab929bd5c..2fe944748 100644 --- a/app/views/my/page_layout.rhtml +++ b/app/views/my/page_layout.rhtml @@ -39,17 +39,18 @@ function removeBlock(block) { <% form_tag({:action => "add_block"}, :id => "block-form") do %>
<%= select_tag 'block', "<option></option>" + options_for_select(@block_options), :id => "block-select" %>
<%= link_to_remote l(:button_add),
- :url => { :action => "add_block" },
+ {:url => { :action => "add_block" },
:with => "Form.serialize('block-form')",
:update => "list-top",
:position => :top,
:complete => "afterAddBlock();",
:loading => "Element.show('indicator')",
:loaded => "Element.hide('indicator')"
+ }, :class => 'icon icon-add'
%>
-<% end %> |
-<%= link_to l(:button_save), :action => 'page_layout_save' %> |
-<%= link_to l(:button_cancel), :action => 'page' %>
+<% end %>
+<%= link_to l(:button_save), {:action => 'page_layout_save'}, :class => 'icon icon-save' %>
+<%= link_to l(:button_cancel), {:action => 'page'}, :class => 'icon icon-cancel' %>
</div>
<h2><%=l(:label_my_page)%></h2>
|