diff --git a/app/views/contracts/_title.html.erb b/app/views/contracts/_title.html.erb new file mode 100644 index 0000000..1a735ac --- /dev/null +++ b/app/views/contracts/_title.html.erb @@ -0,0 +1,25 @@ +
+ <%= content_tag(:h2, h(contract.name)) %> + +
+ Log time + + | + + Watch + + | + + Copy + | + +
+ <%= link_to(l(:button_update), edit_contract_path(@project, contract)) %> +
+
+
+<%# TODO: contract messages +
+

There is $243 worth of time clocked to issues that are not assigned to any deliverables. Please update the orphaned issues.

+
+%> diff --git a/app/views/contracts/show.html.erb b/app/views/contracts/show.html.erb index 8480fa4..129004f 100644 --- a/app/views/contracts/show.html.erb +++ b/app/views/contracts/show.html.erb @@ -1,28 +1,5 @@ -
- <%= content_tag(:h2, h(resource.name)) %> - -
- Log time +<%= render :partial => 'title', :locals => {:contract => resource} %> - | - - Watch - - | - - Copy - | - -
- <%= link_to(l(:button_update), edit_contract_path(@project, resource)) %> -
-
-
-<%# TODO: contract messages -
-

There is $243 worth of time clocked to issues that are not assigned to any deliverables. Please update the orphaned issues.

-
-%> <% div_for(resource) do %> <%= avatar(resource.account_executive, :size => 40) %>