<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,10 @@
+&lt;div class=&quot;contextual&quot;&gt;
+&lt;%= link_to_if_authorized l(:label_customer_view), {:controller =&gt; 'customers', :action =&gt; 'index', :id =&gt; @project}, :class =&gt; 'icon icon-user' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_assign), {:controller =&gt; 'customers', :action =&gt; 'edit', :id =&gt; @project.id}, :class =&gt; 'icon icon-move' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_list), {:controller =&gt; 'customers', :action =&gt; 'list', :id =&gt; @project.id}, :class =&gt; 'icon icon-users' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_new), {:controller =&gt; 'customers', :action =&gt; 'edit_info', :id =&gt; @project.id}, :class =&gt; 'icon icon-add' %&gt;
+&lt;/div&gt;
+
 &lt;h2&gt;&lt;%= l(:label_customer_assign_to_project) %&gt;&lt;/h2&gt;
 
 &lt;% form_for :customer, :url =&gt;{:action =&gt; 'edit', :id =&gt; @project} do |f|  %&gt;
@@ -10,5 +17,3 @@
 &lt;%= submit_tag l(:button_save) -%&gt;
 
 &lt;% end # form -%&gt;
-
-&lt;%= render(:partial =&gt; 'menu') %&gt;</diff>
      <filename>app/views/customers/edit.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,10 @@
+&lt;div class=&quot;contextual&quot;&gt;
+&lt;%= link_to_if_authorized l(:label_customer_view), {:controller =&gt; 'customers', :action =&gt; 'index', :id =&gt; @project}, :class =&gt; 'icon icon-user' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_assign), {:controller =&gt; 'customers', :action =&gt; 'edit', :id =&gt; @project.id}, :class =&gt; 'icon icon-move' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_list), {:controller =&gt; 'customers', :action =&gt; 'list', :id =&gt; @project.id}, :class =&gt; 'icon icon-users' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_new), {:controller =&gt; 'customers', :action =&gt; 'edit_info', :id =&gt; @project.id}, :class =&gt; 'icon icon-add' %&gt;
+&lt;/div&gt;
+
 &lt;h3&gt;&lt;%= l(:label_customer_edit_information) %&gt;&lt;/h3&gt;
 
 &lt;% form_for :customer, :url =&gt;{:action =&gt; 'edit_info', :id =&gt; @project} do |f|  %&gt;
@@ -33,6 +40,3 @@
 &lt;%= submit_tag l(:button_save) -%&gt;
 
 &lt;% end # form -%&gt;
-
-
-&lt;%= render(:partial =&gt; 'menu') %&gt;</diff>
      <filename>app/views/customers/edit_info.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,10 @@
+&lt;div class=&quot;contextual&quot;&gt;
+  &lt;%= link_to_if_authorized l(:label_customer_view), {:controller =&gt; 'customers', :action =&gt; 'index', :id =&gt; @project}, :class =&gt; 'icon icon-user' %&gt;
+  &lt;%= link_to_if_authorized l(:label_customer_assign), {:controller =&gt; 'customers', :action =&gt; 'edit', :id =&gt; @project.id}, :class =&gt; 'icon icon-move' %&gt;
+  &lt;%= link_to_if_authorized l(:label_customer_list), {:controller =&gt; 'customers', :action =&gt; 'list', :id =&gt; @project.id}, :class =&gt; 'icon icon-users' %&gt;
+  &lt;%= link_to_if_authorized l(:label_customer_new), {:controller =&gt; 'customers', :action =&gt; 'edit_info', :id =&gt; @project.id}, :class =&gt; 'icon icon-add' %&gt;
+&lt;/div&gt;
+
 &lt;h2&gt;&lt;%= l(:label_customer_information) %&gt;&lt;/h2&gt;
 
 &lt;% if @customer -%&gt;
@@ -12,4 +19,3 @@
 &lt;% else %&gt;
   &lt;p class=&quot;nodata&quot;&gt;&lt;%=l(:label_no_data)%&gt;&lt;/p&gt;
 &lt;% end %&gt;
-&lt;%= render(:partial =&gt; 'menu') %&gt;</diff>
      <filename>app/views/customers/index.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,10 @@
+&lt;div class=&quot;contextual&quot;&gt;
+&lt;%= link_to_if_authorized l(:label_customer_view), {:controller =&gt; 'customers', :action =&gt; 'index', :id =&gt; @project}, :class =&gt; 'icon icon-user' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_assign), {:controller =&gt; 'customers', :action =&gt; 'edit', :id =&gt; @project.id}, :class =&gt; 'icon icon-move' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_list), {:controller =&gt; 'customers', :action =&gt; 'list', :id =&gt; @project.id}, :class =&gt; 'disabled icon icon-users' %&gt;
+&lt;%= link_to_if_authorized l(:label_customer_new), {:controller =&gt; 'customers', :action =&gt; 'edit_info', :id =&gt; @project.id}, :class =&gt; 'icon icon-add' %&gt;
+&lt;/div&gt;
+
 &lt;h1&gt;&lt;%= l(:label_customer_plural) %&gt;&lt;/h1&gt;
 
 &lt;% unless @customers.empty? %&gt;
@@ -9,5 +16,3 @@
   &lt;p class=&quot;nodata&quot;&gt;&lt;%=l(:label_no_data)%&gt;&lt;/p&gt;
 &lt;% end %&gt;
 &lt;/ul&gt;
-
-&lt;%= render(:partial =&gt; 'menu') %&gt;</diff>
      <filename>app/views/customers/list.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,4 @@
 customer_title: Customer
-customer_menu: Menu
 label_customer: Customer
 label_customer_plural: Customer List
 label_customer_information: Customer Information</diff>
      <filename>lang/en.yml</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,4 @@
 customer_title: Cliente
-customer_menu: Menu
 label_customer: Cliente
 label_customer_plural: Elenco clienti
 label_customer_information: Dettaglio cliente</diff>
      <filename>lang/it.yml</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/views/customers/_menu.html.erb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>1b4718a37f6008c0d1b6ee2900de61cd136051c1</id>
    </parent>
  </parents>
  <author>
    <name>elomar.franca</name>
    <email>elomar.franca@2ba885dd-6bb3-41cd-a376-88fc31cd222d</email>
  </author>
  <url>http://github.com/elomar/customer-plugin/commit/13b02a289cfe6845aac7d02f714a06518991a2a2</url>
  <id>13b02a289cfe6845aac7d02f714a06518991a2a2</id>
  <committed-date>2009-10-05T03:36:07-07:00</committed-date>
  <authored-date>2009-10-05T03:36:07-07:00</authored-date>
  <message>moved menu on header (with icons)

git-svn-id: https://svn.renapi.org/customer-plugin/trunk@18 2ba885dd-6bb3-41cd-a376-88fc31cd222d</message>
  <tree>dd9fef8d430f7b5cfb42ca47a742ab3d7378ed77</tree>
  <committer>
    <name>elomar.franca</name>
    <email>elomar.franca@2ba885dd-6bb3-41cd-a376-88fc31cd222d</email>
  </committer>
</commit>
