<% begin customer = _ob.get(:Customer, _get["customer_id"]) rescue _hb.alert(_("That customer do not exist.")).back end print _site.header(sprintf(_("Show customer: %s"), customer.name.html)) %> <%=_site.boxt(_("Actions"), "350px")%> " onclick="location.href='?show=customer_edit&customer_id=<%=customer.id%>';" /> <%=_site.boxb%>
<%=_site.boxt(_("Projects"), "350px")%> <% projects = customer.projects projects.each do |project| %> <% end if projects.empty? %> <% end %>
<%=_("Project")%>
<%=project.html%>
<%=_("No projects has been added for this customer.")%>
<%=_site.boxb%>