瀏覽代碼

Use nonbreaking spaces for last fetched times to stop text breaking across lines

master
CharlotteGilhooly 12 年之前
父節點
當前提交
9aa786fa47
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      app/views/feeds/index.html.haml

+ 1
- 2
app/views/feeds/index.html.haml 查看文件

@@ -24,8 +24,7 @@
- if f.last_fetched.nil?
never
- else
= time_ago_in_words f.last_fetched
ago
= (time_ago_in_words(f.last_fetched) + " ago").gsub(/ +/, " ").html_safe
%td= link_to "Fetch", fetch_feed_url(f), :class => "button"
%td= link_to 'Edit', edit_feed_path(f), :class => "button"
%td= link_to 'Delete', f, :confirm => "Delete #{f.title} and all its posts?", :method => :delete, :class => "button"


Loading…
取消
儲存