Improved link embedding

This commit is contained in:
Paul van Tilburg 2011-11-29 12:16:27 +01:00
parent 4b69bb02ec
commit bd45416675
1 changed files with 4 additions and 5 deletions

View File

@ -1178,8 +1178,8 @@ module StopTime::Views
h3 { a customer.name, :href => R(CustomersN, customer.id) }
if @tasks[customer].empty?
p do
text "No projects/tasks found! Create one "
a "here", :href => R(CustomersNTasksNew, customer.id)
text "No projects/tasks found! Create one " +
"#{a "here", :href => R(CustomersNTasksNew, customer.id)}."
end
else
table.overview do
@ -1308,9 +1308,8 @@ module StopTime::Views
h2 "Customers"
if @customers.empty?
p do
text "None found! You can create one "
a "here", :href => R(CustomersNew)
text "."
text "None found! You can create one " +
"#{a "here", :href => R(CustomersNew)}."
end
else
table.customers do