From f9528a7464376adebd8773fffd546e96205cca5f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 1 Aug 2012 10:56:19 +0100 Subject: [PATCH] Improve "no traces" message --- app/views/trace/list.html.erb | 2 +- config/locales/en.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/trace/list.html.erb b/app/views/trace/list.html.erb index 3003df98a..5a33defc8 100644 --- a/app/views/trace/list.html.erb +++ b/app/views/trace/list.html.erb @@ -33,7 +33,7 @@ <%= render :partial => 'trace_paging_nav' %> <% else %> - <%= t 'trace.list.empty_html', :upload_link => link_to(t('trace.list.upload_new'), trace_create_path) %> +

<%= t 'trace.list.empty_html', :upload_link => trace_create_path %>

<% end %> <%= render :partial => 'trace_optionals' %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 354fcb04c..ca16c1a5e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1513,8 +1513,7 @@ en: your_traces: "Your GPS traces" public_traces_from: "Public GPS traces from %{user}" tagged_with: " tagged with %{tags}" - empty_html: "Nothing here yet. %{upload_link} Or learn more about GPS tracing on the wiki page." - upload_new: "Upload a new trace" + empty_html: "Nothing here yet. Upload a new trace or learn more about GPS tracing on the wiki page." delete: scheduled_for_deletion: "Trace scheduled for deletion" make_public: -- 2.43.2