diff --git a/app/views/contracts/edit.html.erb b/app/views/contracts/edit.html.erb index eb1236b..9e01f21 100644 --- a/app/views/contracts/edit.html.erb +++ b/app/views/contracts/edit.html.erb @@ -10,3 +10,4 @@ <%= render :partial => 'form', :object => form, :locals => {:cancel_path => contract_path(@project, resource)} %> <% end %> +<% html_title "#{l(:text_contracts)} - #{h(l(:text_edit_contract_name, :name => resource.name))}" %> diff --git a/app/views/contracts/index.html.erb b/app/views/contracts/index.html.erb index 2ff291b..92aec18 100644 --- a/app/views/contracts/index.html.erb +++ b/app/views/contracts/index.html.erb @@ -48,3 +48,5 @@

TODO: Release 5 (Contract Status)

+ +<% html_title "#{l(:text_contracts)}" %> diff --git a/app/views/contracts/new.html.erb b/app/views/contracts/new.html.erb index 242fdd2..679ed0b 100644 --- a/app/views/contracts/new.html.erb +++ b/app/views/contracts/new.html.erb @@ -3,3 +3,5 @@ <% semantic_form_for resource, :html => {:class => 'tabular'} do |form| %> <%= render :partial => 'form', :object => form, :locals => {:cancel_path => contracts_path} %> <% end %> + +<% html_title "#{l(:text_new_contract)}" %> diff --git a/app/views/contracts/show.html.erb b/app/views/contracts/show.html.erb index 564d3c0..5ae5559 100644 --- a/app/views/contracts/show.html.erb +++ b/app/views/contracts/show.html.erb @@ -292,3 +292,5 @@ -->

TODO: Release 2+, history

+ +<% html_title "#{l(:text_contracts)} - #{h(resource.name)}" %> diff --git a/app/views/deliverables/edit.html.erb b/app/views/deliverables/edit.html.erb index b8f2bc4..479083d 100644 --- a/app/views/deliverables/edit.html.erb +++ b/app/views/deliverables/edit.html.erb @@ -5,3 +5,5 @@ <% semantic_form_for [@project, @contract, setup_nested_deliverable_records(resource)], :url => contract_deliverable_path(@project, @contract, resource), :html => {:class => 'deliverable tabular'} do |form| %> <%= render :partial => 'form', :object => form, :locals => {:cancel_path => contract_path(@project, @contract)} %> <% end %> + +<% html_title "#{l(:field_deliverable_plural)} - #{h(l(:text_edit_deliverable_title, :title => resource.title))}" %> diff --git a/app/views/deliverables/new.html.erb b/app/views/deliverables/new.html.erb index 4b6a32a..9a0bef8 100644 --- a/app/views/deliverables/new.html.erb +++ b/app/views/deliverables/new.html.erb @@ -5,3 +5,5 @@ <% semantic_form_for [@project, @contract, setup_nested_deliverable_records(resource)], :url => contract_deliverables_path(@project, @contract), :html => {:class => 'deliverable tabular'} do |form| %> <%= render :partial => 'form', :object => form, :locals => {:cancel_path => contract_path(@project, @contract)} %> <% end %> + +<% html_title "#{l(:field_deliverable_plural)} - #{l(:text_new_deliverable)}" %>