mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
home page is restored, so is context view
This commit is contained in:
parent
4605b17d3c
commit
e964769553
130 changed files with 89 additions and 152 deletions
|
|
@ -95,10 +95,10 @@ class ApplicationController < ActionController::Base
|
|||
if count == 0 && deferred_count > 0
|
||||
word = deferred_count == 1 ? string.singularize : string.pluralize
|
||||
word = "deferred " + word
|
||||
deferred_count.to_s + " " + word
|
||||
return (deferred_count.to_s + " " + word).html_safe
|
||||
else
|
||||
word = count == 1 ? string.singularize : string.pluralize
|
||||
count.to_s + " " + word
|
||||
return (count.to_s + " " + word).html_safe
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue