[#4412] Added HTML page titles.

This commit is contained in:
Eric Davis
2010-08-12 10:25:14 -07:00
parent dfcc31c83e
commit 8906639273
6 changed files with 11 additions and 0 deletions

View File

@@ -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))}" %>

View File

@@ -48,3 +48,5 @@
<p>TODO: Release 5 (Contract Status)</p>
</div>
<% html_title "#{l(:text_contracts)}" %>

View File

@@ -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)}" %>

View File

@@ -292,3 +292,5 @@
-->
<p>TODO: Release 2+, history</p>
<% html_title "#{l(:text_contracts)} - #{h(resource.name)}" %>

View File

@@ -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))}" %>

View File

@@ -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)}" %>